diff options
author | Silvino Silva <silvino@bk.ru> | 2018-04-10 14:32:56 +0100 |
---|---|---|
committer | Silvino Silva <silvino@bk.ru> | 2018-04-10 14:32:56 +0100 |
commit | 198d04472a1b9fcb36fd6626dc02e6be24590ed8 (patch) | |
tree | 543ea02006faa559f31ba90cdacdeee0046ce4ed /core/network.html | |
parent | ceb5d994c81cde76ee7fa95ba0d507bdafd7da18 (diff) | |
download | doc-198d04472a1b9fcb36fd6626dc02e6be24590ed8.tar.gz |
iptables revision
Diffstat (limited to 'core/network.html')
-rw-r--r-- | core/network.html | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/core/network.html b/core/network.html index 92f0e1e..57f877a 100644 --- a/core/network.html +++ b/core/network.html @@ -116,14 +116,16 @@ <p>For more information about iptables read <a href="https://wiki.archlinux.org/index.php/Iptables">arch wiki</a>. - You can use - <a href="conf/iptables/rules.v4">/etc/iptables/rules.v4</a> - or - <a href="conf/iptables/iptables-lan.sh">/etc/iptables/iptables-lan.sh</a> - as a template, replace interfaces by correct ones. - This configuration file is used at boot time by iptables-restore command, - if you use a script or change the rules of running system you can - use iptables-save command to save configuration to a file.</p> + Iptables can be setup at startup with + <a href="conf/rc.d/iptables">/etc/rc.d/iptables</a> script, change + <a href="conf/iptables/iptables.sh">/etc/iptables/iptables.sh</a> + with your needs and run to apply, after iptables-save can be used + to create /etc/iptables/rules.v4 file that is used by init script.</p> + + <p>Init script "start" option loads set of rules from file + /etc/iptables/rules.v4, "open" option allows everything to outside + and blocks everything from outside, "stop" will block and log + everything.</p> <pre> # mkdir /etc/iptables |