Tag Archive: Iptables

Mar
29

Important iptables firewall commands.

Iptables firewall on Linux. 1) Iptables configuration file /etc/sysconfig/iptables-config 2) Block ip address i.e. Block all incomming traffic coming from ip address iptables -A INPUT -s ipaddress -j DROP Where A is Add rule s is source j is jump to drop 3) Saving iptables rules /etc/init.d/iptables save 4) Restarting iptables service /etc/init.d/iptables restart 5) …

Continue reading »