open SSH port!
This commit is contained in:
parent
2b18ae91e6
commit
cd6a30e9c4
2 changed files with 4 additions and 0 deletions
|
@ -7,4 +7,5 @@
|
||||||
-A INPUT -m conntrack --ctstate INVALID -j DROP
|
-A INPUT -m conntrack --ctstate INVALID -j DROP
|
||||||
-A INPUT -p icmp -m icmp --icmp-type 8 -m conntrack --ctstate NEW -j ACCEPT
|
-A INPUT -p icmp -m icmp --icmp-type 8 -m conntrack --ctstate NEW -j ACCEPT
|
||||||
-A INPUT -i lo -j ACCEPT
|
-A INPUT -i lo -j ACCEPT
|
||||||
|
-A INPUT -p tcp --dport 22 -j ACCEPT
|
||||||
COMMIT
|
COMMIT
|
||||||
|
|
|
@ -8,4 +8,7 @@
|
||||||
-A INPUT -p icmpv6 -j ACCEPT
|
-A INPUT -p icmpv6 -j ACCEPT
|
||||||
-A FORWARD -p icmpv6 -j ACCEPT
|
-A FORWARD -p icmpv6 -j ACCEPT
|
||||||
-A INPUT -i lo -j ACCEPT
|
-A INPUT -i lo -j ACCEPT
|
||||||
|
{% if ip6 is defined %}
|
||||||
|
-A INPUT -p tcp --dport 22 -j ACCEPT
|
||||||
|
{% endif %}
|
||||||
COMMIT
|
COMMIT
|
||||||
|
|
Loading…
Reference in a new issue