Template:Firewall Rule

From Gentoo Linux Wiki

Jump to: navigation, search
Note: This page is a template. It contains no Gentoo related information but should be used as part of other articles. For more information, read Help:Templates. Please do not experiment with this template, it could mess up all pages using this template. If you want to change the template, copy the text to Template:Sandbox, edit and test it there and copy it back when it works
Do you want to give us your opinion?


1. Save your current firewall rules iptables-save > /etc/iptables.bak
2. Open /etc/iptables.bak in your favorite text editor
3. Add the following rule(s) in appropriate order (according to your existing rules).

Firewall Rule: {{{1}}}
{{{2}}}

4. Restore all rules to be part of your current configuration iptables-restore /etc/iptables.bak

Personal tools