How to start / stop iptables

Solved442 views

How can I start and stop iptables on Linux server? Also I want to auto start it on every reboot as well.


To start iptables:
service iptables start

To stop iptables:
service iptables stop

To restart iptables:
service iptables restart

You can determine whether iptables is running or not using following command:

service iptables status

If “service” command doesn’t work, you can use the following command

/etc/init.d/iptables start/stop/restart

To start it automatically on boot, run following command:

chkconfig iptables on

Bloom Email Optin Plugin