open SSH port!

This commit is contained in:
f 2022-06-18 23:40:49 -03:00
parent 2b18ae91e6
commit cd6a30e9c4
2 changed files with 4 additions and 0 deletions

View file

@ -7,4 +7,5 @@
-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 -i lo -j ACCEPT
-A INPUT -p tcp --dport 22 -j ACCEPT
COMMIT

View file

@ -8,4 +8,7 @@
-A INPUT -p icmpv6 -j ACCEPT
-A FORWARD -p icmpv6 -j ACCEPT
-A INPUT -i lo -j ACCEPT
{% if ip6 is defined %}
-A INPUT -p tcp --dport 22 -j ACCEPT
{% endif %}
COMMIT