2019-08-22 03:18:06 +00:00
|
|
|
*filter
|
|
|
|
:INPUT DROP
|
|
|
|
:FORWARD ACCEPT
|
|
|
|
:OUTPUT ACCEPT
|
|
|
|
:icmp_in -
|
|
|
|
-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
|
|
|
|
-A INPUT -i lo -j ACCEPT
|
|
|
|
-A INPUT -p tcp --dport 22 -j ACCEPT
|
|
|
|
-A INPUT -p tcp --dport 5665 -j ACCEPT
|
|
|
|
-A INPUT -p tcp --dport 9001 -j ACCEPT
|
|
|
|
-A INPUT -p tcp -m multiport --dports 5269,5222 -j ACCEPT
|
2020-03-04 22:16:38 +00:00
|
|
|
-A INPUT -p udp -s 2620:98:4002::/48 --dport 53 -j ACCEPT
|
|
|
|
-A INPUT -p tcp -s 2620:98:4002::/48 --dport 53 -j ACCEPT
|
2021-11-21 17:38:51 +00:00
|
|
|
-A INPUT -p udp -s fd7a:115c:a1e0:ab12:4843:cd96:6241:b43c/128 --dport 53 -j ACCEPT
|
|
|
|
-A INPUT -p tcp -s fd7a:115c:a1e0:ab12:4843:cd96:6241:b43c/128 --dport 53 -j ACCEPT
|
2019-08-22 03:18:06 +00:00
|
|
|
-A INPUT -p ipv6-icmp -j icmp_in
|
|
|
|
-A icmp_in -p ipv6-icmp -m icmp6 --icmpv6-type 128 -j ACCEPT
|
|
|
|
-A icmp_in -p ipv6-icmp -m icmp6 --icmpv6-type 134 -j ACCEPT
|
|
|
|
-A icmp_in -p ipv6-icmp -m icmp6 --icmpv6-type 135 -j ACCEPT
|
|
|
|
-A icmp_in -p ipv6-icmp -m icmp6 --icmpv6-type 136 -j ACCEPT
|
|
|
|
-A icmp_in -p ipv6-icmp -m icmp6 --icmpv6-type 1 -j ACCEPT
|
|
|
|
-A icmp_in -p ipv6-icmp -m icmp6 --icmpv6-type 2 -j ACCEPT
|
|
|
|
-A icmp_in -p ipv6-icmp -m icmp6 --icmpv6-type 3 -j ACCEPT
|
|
|
|
-A icmp_in -p ipv6-icmp -m icmp6 --icmpv6-type 4 -j ACCEPT
|
2021-09-04 17:49:17 +00:00
|
|
|
COMMIT
|
2021-09-04 17:47:59 +00:00
|
|
|
*nat
|
|
|
|
:PREROUTING ACCEPT
|
|
|
|
:INPUT ACCEPT
|
|
|
|
:OUTPUT ACCEPT
|
2021-09-04 17:45:02 +00:00
|
|
|
:POSTROUTING ACCEPT
|
|
|
|
-A POSTROUTING -s fd42:42:42::/64 -o eth0 -j MASQUERADE
|
2019-08-22 03:18:06 +00:00
|
|
|
COMMIT
|