mirror of
https://git.libreschool.org/paspo/brasatore.git
synced 2024-11-23 14:48:45 +00:00
fix iptables
This commit is contained in:
parent
0c4622974a
commit
887f4bf961
@ -20,7 +20,6 @@
|
|||||||
-A INPUT -i {{ lan_iface }} -p tcp -m state --state NEW -m tcp --dport 4047 -j ACCEPT
|
-A INPUT -i {{ lan_iface }} -p tcp -m state --state NEW -m tcp --dport 4047 -j ACCEPT
|
||||||
-A INPUT -i {{ lan_iface }} -p tcp -m state --state NEW -m tcp --dport 4048 -j ACCEPT
|
-A INPUT -i {{ lan_iface }} -p tcp -m state --state NEW -m tcp --dport 4048 -j ACCEPT
|
||||||
-A INPUT -i {{ lan_iface }} -p udp -m state --state NEW -m udp --dport 4048 -j ACCEPT
|
-A INPUT -i {{ lan_iface }} -p udp -m state --state NEW -m udp --dport 4048 -j ACCEPT
|
||||||
-A FORWARD -i {{ lan_iface }} -o {{ lan_iface }} -j REJECT --reject-with icmp-port-unreachable
|
|
||||||
-A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
|
-A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
|
||||||
-A FORWARD -i {{ lan_iface }} -o {{ lan_iface }} -j REJECT --reject-with icmp-port-unreachable
|
-A FORWARD -i {{ lan_iface }} -o {{ lan_iface }} -j REJECT --reject-with icmp-port-unreachable
|
||||||
-A FORWARD -i {{ lan_iface }} -j ACCEPT
|
-A FORWARD -i {{ lan_iface }} -j ACCEPT
|
||||||
|
Loading…
Reference in New Issue
Block a user