View source for Iptables
Jump to:
navigation
,
search
== Introduction == These are my notes about iptables. I find them to be helpful. YMMV :) To to: research issue of some versions of iptables not supporting --dport == Red Hattish == * To check iptables installation, ''rpm -q iptables'' === Disable iptables filtering === Stop IP tables. In hattish distros: <pre>service iptables stop</pre> In some cases (debianish) this might be better: <pre>iptables -F iptables -A INPUT eth0 -j ACCEPT </pre> ... assuming eth0 is the right device :) === Saving Iptables (after manual changes) === <pre> # /sbin/service iptables save </pre> This executes the iptables init script, which runs ''/sbin/iptables-save'' and writes the current iptables configuration to ''/etc/sysconfig/iptables''. Upon reboot, the iptables init script reapplies the rules saved in ''/etc/sysconfig/iptables'' by using the ''/sbin/iptables-restore'' command.
Return to
Iptables
.
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
Actions
Search
Navigation
Main page
Community portal
Current events
Recent changes
Random page
Help
Toolbox
What links here
Related changes
Special pages
Page information