2019-08-22 02:26:21 +00:00
|
|
|
*filter
|
2019-08-22 03:41:40 +00:00
|
|
|
:INPUT DROP
|
|
|
|
:FORWARD DROP
|
|
|
|
:OUTPUT DROP
|
|
|
|
:icmp_in -
|
2020-07-05 18:31:34 +00:00
|
|
|
# weird api/accounts crawler
|
|
|
|
-A INPUT -p tcp -m tcp -s 2001:19f0:6001:5aa0:5400:2ff:fecf:eee5/128 -j DROP
|
2022-01-13 14:30:06 +00:00
|
|
|
# Teredo IP for AS206728 bot
|
|
|
|
-A INPUT -p tcp -m tcp -s 2002:2d8d:56bb::2d8d:56bb/128 -j DROP
|
2019-08-22 02:26:21 +00:00
|
|
|
-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
|
|
|
|
-A INPUT -i lo -j ACCEPT
|
|
|
|
-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
|
|
|
|
-A INPUT -p tcp -m multiport --dports 80,443 -j ACCEPT
|
|
|
|
-A INPUT -p tcp -m tcp --dport 5665 -j ACCEPT
|
|
|
|
-A INPUT -p ipv6-icmp -j icmp_in
|
|
|
|
-A OUTPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
|
|
|
|
-A OUTPUT -o lo -j ACCEPT
|
|
|
|
-A OUTPUT -p tcp -m multiport --dports 80,443 -j ACCEPT
|
|
|
|
-A OUTPUT -p udp -m udp --dport 53 -j ACCEPT
|
|
|
|
-A OUTPUT -p tcp -m tcp --dport 53 -j ACCEPT
|
|
|
|
-A OUTPUT -p tcp -m tcp --dport 587 -j ACCEPT
|
|
|
|
-A OUTPUT -p ipv6-icmp -j ACCEPT
|
|
|
|
-A OUTPUT -p tcp -m tcp --dport 5665 -j ACCEPT
|
|
|
|
-A OUTPUT -p tcp -m tcp --dport 25 -j ACCEPT
|
2021-04-05 12:29:14 +00:00
|
|
|
-A OUTPUT -p udp -m udp --dport 123 -j ACCEPT
|
2019-08-22 02:26:21 +00:00
|
|
|
-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
|
|
|
|
COMMIT
|