We do support Round the Clock 24 x 7 x 365 (+91) 883 012 3924
 

APF Firewall Script

APF Firewall Script

# Start APF firewall :

apf -s

# Restart APF firewall :

apf -r

# Stop apf and flush all rules from the firewall :

apf -f

# Whitelisting an IP address :

apf -a 1.2.3.4

# Block an IP address : 

apf -d 1.2.3.4

# Remove IP from firewall :

apf -u 1.2.3.4

# Open Port into APF firewall :

vi /etc/apf/conf.apf

In above file, add the port in front of  “IG_TCP_CPORTS” option

 

Leave a Reply

Your email address will not be published. Required fields are marked *