Basic CSF Commands

1. Login to your Customer portal

2  Select appropriate subscription from the drop-down menu (located at the top right of the interface).

3. Select your Cloud Server subscription and click on “Server Management”.

4. Start the firewall (enable the firewall rules):

csf -s

5. Flush/Stop the firewall rules.

csf -f

6. Reload the firewall rules.

    csf -f

7.Allow an IP and add it to csf.allow.

     csf -a IP

8.Remove and delete an IP from csf.allow.

    csf -ar IP

9. Deny an IP and add to csf.deny:

    csf -d IP

10.Remove and delete an IP from csf.deny.

    csf -dr IP