Manage multiple IP addresses with CSF The command to deny an IP: # csf -d ip.address Click here for more CSF commands Here is the script to block number of IPs: 1, Save the IPs in a text file: vi block.txt ….. 1.1.1.5 1.1.1.1 1.1.1.4 1.1.1.6 ….. 2, Blocking them using for loop: # for […]
See MoreTag: CSF commands
CSF commands for Unix/Linux servers
CSF commands for managing your server firewall. 1. Enable csf and lfd if previously disabled csf -e Or csf –enable 2. Disable csf and lfd completely csf -x Or csf –disable 3. Restart firewall rules csf -r Or csf –restart 4. Start the firewall rules csf -s Or csf –start 5. Flush/Stop firewall rules (Note: […]
See More