doc: Fix example iptables configuration.
* doc/guix.texi (Networking Services): Allow established and related incoming connections in example iptables configuration. Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>master
parent
9703a51048
commit
ecbfa20609
|
@ -16450,6 +16450,7 @@ configuration rejecting all incoming connections except those to the ssh port
|
||||||
:INPUT ACCEPT
|
:INPUT ACCEPT
|
||||||
:FORWARD ACCEPT
|
:FORWARD ACCEPT
|
||||||
:OUTPUT ACCEPT
|
:OUTPUT ACCEPT
|
||||||
|
-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
|
||||||
-A INPUT -p tcp --dport 22 -j ACCEPT
|
-A INPUT -p tcp --dport 22 -j ACCEPT
|
||||||
-A INPUT -j REJECT --reject-with icmp-port-unreachable
|
-A INPUT -j REJECT --reject-with icmp-port-unreachable
|
||||||
COMMIT
|
COMMIT
|
||||||
|
@ -16458,6 +16459,7 @@ COMMIT
|
||||||
:INPUT ACCEPT
|
:INPUT ACCEPT
|
||||||
:FORWARD ACCEPT
|
:FORWARD ACCEPT
|
||||||
:OUTPUT ACCEPT
|
:OUTPUT ACCEPT
|
||||||
|
-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
|
||||||
-A INPUT -p tcp --dport 22 -j ACCEPT
|
-A INPUT -p tcp --dport 22 -j ACCEPT
|
||||||
-A INPUT -j REJECT --reject-with icmp6-port-unreachable
|
-A INPUT -j REJECT --reject-with icmp6-port-unreachable
|
||||||
COMMIT
|
COMMIT
|
||||||
|
|
Reference in New Issue