Difference between revisions of "Iptables: Explanations, options & examples"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
== Configuration file location and command commands == | == Configuration file location and command commands == | ||
=== Configuration file === | === Configuration file === | ||
| − | The iptables configuration file is located at: <code>/etc/sysconfig/iptables</code>. The contains all the tables, chains and rules. Additional configurations can be added directly to this file or via command line tools. | + | The iptables configuration file is located at: '''<code>/etc/sysconfig/iptables</code>'''. The contains all the tables, chains and rules. Additional configurations can be added directly to this file or via command line tools. |
=== Common Commands === | === Common Commands === | ||
Revision as of 13:34, 15 November 2012
Configuration file location and command commands
Configuration file
The iptables configuration file is located at: /etc/sysconfig/iptables. The contains all the tables, chains and rules. Additional configurations can be added directly to this file or via command line tools.
Common Commands
service iptables start- Starts iptablesservice iptables status- Check statusservice iptables stop- Stop iptablesservice iptables restart- Restart iptablesservice iptables save- Save any newly added rules
== Structure of