How Do I Enable Iptables in Linux?
Contents How Do I Enable Iptables? Once Configuration Is Updated Type the Following Service Command at a Shell Prompt: to Start Firewall from a Shell Enter: #...
Contents
How do I enable iptables?
Once configuration is updated type the following service command at a shell prompt:
- To start firewall from a shell enter: # chkconfig iptables on. # service iptables start.
- To stop firewall, enter: # service iptables stop.
- To restart firewall, enter: # service iptables restart.
15 янв. 2014 г.
Must Read
How do you check if iptables is enabled in Linux?
You can, however, easily check the status of iptables with the command systemctl status iptables. service or maybe just the service iptables status command — depending on your Linux distribution.