IP/Port redirecting with csf

csf (ConfigServer Security & Firewall) offers the possibility to redirect/forward traffic from one IP/port to another IP/port. The requirements, as stated in the /etc/csf/csf.redirect file, are: Requirements:nat tablesipt_DNAT iptables moduleipt_SNAT iptables moduleipt_REDIRECT iptables module The lines listed below need to be…

Continue Reading IP/Port redirecting with csf

How to run Python scripts from shell

Python is available for many platforms including Linux and Windows. To download it for your system go to https://www.python.org/downloads/ cPanel includes by default Python, so you can easily run scripts - as root or as user. To run Python scripts…

Continue Reading How to run Python scripts from shell

How to unblock an IP in CSF

ConfigServer Security & Firewall (csf) is a very used firewall for cPanel servers. Download it from https://configserver.com/cp/csf.html Am Ip or an IP range can be unblocked from cPanel(or other panels that support the CSF plugin, like Direct Admin) or from the…

Continue Reading How to unblock an IP in CSF