3002276209
remove byte counters, remove chains that didn't need to be there
33 lines
1.3 KiB
Plaintext
33 lines
1.3 KiB
Plaintext
# Generated by ip6tables-save v1.6.1 on Wed Jun 5 07:00:25 2019
|
|
*filter
|
|
:INPUT DROP
|
|
:FORWARD DROP
|
|
:OUTPUT DROP
|
|
:icmp_in -
|
|
-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 tcp -m tcp --dport 4949 -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
|
|
-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
|
|
# Completed on Wed Jun 5 07:00:25 2019
|