# Generated by ip6tables-save v1.8.11 (nf_tables) on Mon Aug 10 19:25:21 2026
*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT DROP [0:0]
:BLACK - [0:0]
:CHECK_GRE - [0:0]
:Syn-FLOOD - [0:0]
:aICMPs - [0:0]
-A INPUT -p ipv6-icmp -m icmp6 --icmpv6-type 128 -m hashlimit --hashlimit-above 1/sec --hashlimit-burst 1 --hashlimit-mode srcip --hashlimit-name ICMP -j DROP
-A INPUT -p ipv6-icmp -j aICMPs
-A INPUT -i eth0 -p tcp -m tcp ! --tcp-flags FIN,SYN,RST,ACK SYN -m state --state NEW -j DROP
-A INPUT -i lo -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -j Syn-FLOOD
-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG FIN,SYN,RST,PSH,ACK,URG -j DROP
-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG NONE -j DROP
-A INPUT -p tcp -m tcp --dport 47 -m state --state NEW -j CHECK_GRE
-A INPUT -p udp -m udp --dport 47 -m state --state NEW -j CHECK_GRE
-A INPUT -p tcp -m tcp --dport 81 -j DROP
-A INPUT -p udp -m udp --dport 81 -j DROP
-A INPUT -d ff00::/8 -j ACCEPT
-A INPUT -s 2607:5300:60:9300::/56 -p tcp -m tcp --dport 22 -j ACCEPT
-A INPUT -s fc00::/7 -p tcp -m tcp --dport 22 -j ACCEPT
-A INPUT -s fec0::/10 -p tcp -m tcp --dport 22 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 22 -m state --state NEW -m recent --set --name SSH --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rsource
-A INPUT -p tcp -m tcp --dport 22 -m recent --update --seconds 60 --hitcount 3 --rttl --name SSH --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rsource -j DROP
-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
-A INPUT -s 2607:5300:60:9300::/56 -p tcp -m tcp --dport 873 -j ACCEPT
-A INPUT -s 2607:5300:60:9300::/56 -p udp -m udp --dport 873 -j ACCEPT
-A INPUT -s fc00::/7 -p tcp -m tcp --dport 873 -j ACCEPT
-A INPUT -s fc00::/7 -p udp -m udp --dport 873 -j ACCEPT
-A INPUT -s fec0::/10 -p tcp -m tcp --dport 873 -j ACCEPT
-A INPUT -s fec0::/10 -p udp -m udp --dport 873 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 514 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 4949 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 5201 -j ACCEPT
-A INPUT -p udp -m udp --dport 123 -j ACCEPT
-A INPUT -p udp -m udp --dport 161 -j ACCEPT
-A INPUT -p udp -m udp --dport 514 -j ACCEPT
-A INPUT -p udp -m udp --dport 546 -j ACCEPT
-A INPUT -p udp -m udp --dport 547 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 443 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 8443 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --dport 500 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --dport 4500 -j ACCEPT
-A INPUT -i eth0 -p esp -m esp -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 50 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 51 -j ACCEPT
-A INPUT -s fc00:4780:28:5295::/64 -j ACCEPT
-A INPUT -s fc00::/64 -j ACCEPT
-A INPUT -s fc00:5300:60:9389::/64 -j ACCEPT
-A INPUT -s fc01::10:0:0:0/80 -j ACCEPT
-A INPUT -s fc01::172:16:0:0/104 -j ACCEPT
-A INPUT -s fc01::192:168:0:0/104 -j ACCEPT
-A INPUT -s fc00:41d0:701:1100::/64 -j ACCEPT
-A INPUT -s fc00:41d0:801:2000::/64 -j ACCEPT
-A INPUT -s fc00:1f00:8100:400::/64 -j ACCEPT
-A INPUT -s fec0::/16 -j ACCEPT
-A INPUT -s fec1::/16 -j ACCEPT
-A INPUT -s fec2::/120 -j ACCEPT
-A INPUT -s fec3::/120 -j ACCEPT
-A INPUT -s fec4::/120 -j ACCEPT
-A INPUT -s fec5::/120 -j ACCEPT
-A INPUT -s fec0::/10 -j DROP
-A INPUT -s fc00::/7 -j DROP
-A INPUT -d 2a02:4780:28:5295::1/128 -j ACCEPT
-A INPUT -d fec5::1/128 -j ACCEPT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -j LOG --log-prefix "INPUT-v6:"
-A INPUT -m rt --rt-type 0 -j DROP
-A FORWARD -p ipv6-icmp -j aICMPs
-A FORWARD -i lo -j ACCEPT
-A FORWARD -o lo -j ACCEPT
-A FORWARD -s ff00::/8 -d ff00::/8 -j ACCEPT
-A FORWARD -i incusbr0 -o lxcbr0 -j ACCEPT
-A FORWARD -i incusbr0 -o lxcbr0 -j ACCEPT
-A FORWARD -i incusbr0 -o eth0 -j ACCEPT
-A FORWARD -i eth0 -o incusbr0 -j ACCEPT
-A FORWARD -i lxcbr0 -o eth0 -j ACCEPT
-A FORWARD -i eth0 -o lxcbr0 -j ACCEPT
-A FORWARD -s fc00:4780:28:5295::/64 -d fc00::/7 -j ACCEPT
-A FORWARD -s fc00::/7 -d fc00:4780:28:5295::/64 -j ACCEPT
-A FORWARD -s fc00:4780:28:5295::/64 -d fec0::/10 -j ACCEPT
-A FORWARD -s fec0::/10 -d fc00:4780:28:5295::/64 -j ACCEPT
-A FORWARD -s fc00::/64 -d fc00::/7 -j ACCEPT
-A FORWARD -s fc00::/7 -d fc00::/64 -j ACCEPT
-A FORWARD -s fc00::/64 -d fec0::/10 -j ACCEPT
-A FORWARD -s fec0::/10 -d fc00::/64 -j ACCEPT
-A FORWARD -s fc00:5300:60:9389::/64 -d fc00::/7 -j ACCEPT
-A FORWARD -s fc00::/7 -d fc00:5300:60:9389::/64 -j ACCEPT
-A FORWARD -s fc00:5300:60:9389::/64 -d fec0::/10 -j ACCEPT
-A FORWARD -s fec0::/10 -d fc00:5300:60:9389::/64 -j ACCEPT
-A FORWARD -s fc01::10:0:0:0/80 -d fc00::/7 -j ACCEPT
-A FORWARD -s fc00::/7 -d fc01::10:0:0:0/80 -j ACCEPT
-A FORWARD -s fc01::10:0:0:0/80 -d fec0::/10 -j ACCEPT
-A FORWARD -s fec0::/10 -d fc01::10:0:0:0/80 -j ACCEPT
-A FORWARD -s fc01::172:16:0:0/104 -d fc00::/7 -j ACCEPT
-A FORWARD -s fc00::/7 -d fc01::172:16:0:0/104 -j ACCEPT
-A FORWARD -s fc01::172:16:0:0/104 -d fec0::/10 -j ACCEPT
-A FORWARD -s fec0::/10 -d fc01::172:16:0:0/104 -j ACCEPT
-A FORWARD -s fc01::192:168:0:0/104 -d fc00::/7 -j ACCEPT
-A FORWARD -s fc00::/7 -d fc01::192:168:0:0/104 -j ACCEPT
-A FORWARD -s fc01::192:168:0:0/104 -d fec0::/10 -j ACCEPT
-A FORWARD -s fec0::/10 -d fc01::192:168:0:0/104 -j ACCEPT
-A FORWARD -s fc00:41d0:701:1100::/64 -d fc00::/7 -j ACCEPT
-A FORWARD -s fc00::/7 -d fc00:41d0:701:1100::/64 -j ACCEPT
-A FORWARD -s fc00:41d0:701:1100::/64 -d fec0::/10 -j ACCEPT
-A FORWARD -s fec0::/10 -d fc00:41d0:701:1100::/64 -j ACCEPT
-A FORWARD -s fc00:41d0:801:2000::/64 -d fc00::/7 -j ACCEPT
-A FORWARD -s fc00::/7 -d fc00:41d0:801:2000::/64 -j ACCEPT
-A FORWARD -s fc00:41d0:801:2000::/64 -d fec0::/10 -j ACCEPT
-A FORWARD -s fec0::/10 -d fc00:41d0:801:2000::/64 -j ACCEPT
-A FORWARD -s fc00:1f00:8100:400::/64 -d fc00::/7 -j ACCEPT
-A FORWARD -s fc00::/7 -d fc00:1f00:8100:400::/64 -j ACCEPT
-A FORWARD -s fc00:1f00:8100:400::/64 -d fec0::/10 -j ACCEPT
-A FORWARD -s fec0::/10 -d fc00:1f00:8100:400::/64 -j ACCEPT
-A FORWARD -s fec0::/16 -d fc00::/7 -j ACCEPT
-A FORWARD -s fc00::/7 -d fec0::/16 -j ACCEPT
-A FORWARD -s fec0::/16 -d fec0::/10 -j ACCEPT
-A FORWARD -s fec0::/10 -d fec0::/16 -j ACCEPT
-A FORWARD -s fec1::/16 -d fc00::/7 -j ACCEPT
-A FORWARD -s fc00::/7 -d fec1::/16 -j ACCEPT
-A FORWARD -s fec1::/16 -d fec0::/10 -j ACCEPT
-A FORWARD -s fec0::/10 -d fec1::/16 -j ACCEPT
-A FORWARD -s fec2::/120 -d fc00::/7 -j ACCEPT
-A FORWARD -s fc00::/7 -d fec2::/120 -j ACCEPT
-A FORWARD -s fec2::/120 -d fec0::/10 -j ACCEPT
-A FORWARD -s fec0::/10 -d fec2::/120 -j ACCEPT
-A FORWARD -s fec3::/120 -d fc00::/7 -j ACCEPT
-A FORWARD -s fc00::/7 -d fec3::/120 -j ACCEPT
-A FORWARD -s fec3::/120 -d fec0::/10 -j ACCEPT
-A FORWARD -s fec0::/10 -d fec3::/120 -j ACCEPT
-A FORWARD -s fec4::/120 -d fc00::/7 -j ACCEPT
-A FORWARD -s fc00::/7 -d fec4::/120 -j ACCEPT
-A FORWARD -s fec4::/120 -d fec0::/10 -j ACCEPT
-A FORWARD -s fec0::/10 -d fec4::/120 -j ACCEPT
-A FORWARD -s fec5::/120 -d fc00::/7 -j ACCEPT
-A FORWARD -s fc00::/7 -d fec5::/120 -j ACCEPT
-A FORWARD -s fec5::/120 -d fec0::/10 -j ACCEPT
-A FORWARD -s fec0::/10 -d fec5::/120 -j ACCEPT
-A FORWARD -s fec0::/10 -d fec0::/10 -j DROP
-A FORWARD -s fec0::/10 -d fc00::/7 -j ACCEPT
-A FORWARD -s fc00::/7 -d fec0::/10 -j ACCEPT
-A FORWARD -s fc00::/7 -d fc00::/7 -j DROP
-A FORWARD -j LOG --log-prefix "FORWARD-v6:"
-A FORWARD -m rt --rt-type 0 -j DROP
-A OUTPUT -p ipv6-icmp -j aICMPs
-A OUTPUT -o lo -j ACCEPT
-A OUTPUT -p tcp -m tcp --sport 47 -m state --state NEW -j CHECK_GRE
-A OUTPUT -p udp -m udp --sport 47 -m state --state NEW -j CHECK_GRE
-A OUTPUT -p tcp -m tcp --sport 81 -j DROP
-A OUTPUT -p udp -m udp --sport 81 -j DROP
-A OUTPUT -d ff00::/8 -j ACCEPT
-A OUTPUT -d 2607:5300:60:9300::/56 -p tcp -m tcp --sport 22 -j ACCEPT
-A OUTPUT -d fc00::/7 -p tcp -m tcp --sport 22 -j ACCEPT
-A OUTPUT -d fec0::/10 -p tcp -m tcp --sport 22 -j ACCEPT
-A OUTPUT -d 2607:5300:60:9300::/56 -p tcp -m tcp --sport 873 -j ACCEPT
-A OUTPUT -d 2607:5300:60:9300::/56 -p udp -m udp --sport 873 -j ACCEPT
-A OUTPUT -d fc00::/7 -p tcp -m tcp --sport 873 -j ACCEPT
-A OUTPUT -d fc00::/7 -p udp -m udp --sport 873 -j ACCEPT
-A OUTPUT -d fec0::/10 -p tcp -m tcp --sport 873 -j ACCEPT
-A OUTPUT -d fec0::/10 -p udp -m udp --sport 873 -j ACCEPT
-A OUTPUT -p tcp -m tcp --sport 514 -j ACCEPT
-A OUTPUT -p tcp -m tcp --sport 4949 -j ACCEPT
-A OUTPUT -p tcp -m tcp --sport 5201 -j ACCEPT
-A OUTPUT -p udp -m udp --sport 123 -j ACCEPT
-A OUTPUT -p udp -m udp --sport 161 -j ACCEPT
-A OUTPUT -p udp -m udp --sport 514 -j ACCEPT
-A OUTPUT -p udp -m udp --sport 546 -j ACCEPT
-A OUTPUT -p udp -m udp --sport 547 -j ACCEPT
-A OUTPUT -p tcp -m state --state RELATED,ESTABLISHED -m tcp --sport 80 -j ACCEPT
-A OUTPUT -p tcp -m state --state RELATED,ESTABLISHED -m tcp --sport 443 -j ACCEPT
-A OUTPUT -p tcp -m state --state RELATED,ESTABLISHED -m tcp --sport 8443 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --sport 500 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --sport 4500 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 50 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 51 -j ACCEPT
-A OUTPUT -d fc00:4780:28:5295::/64 -j ACCEPT
-A OUTPUT -d fc00::/64 -j ACCEPT
-A OUTPUT -d fc00:5300:60:9389::/64 -j ACCEPT
-A OUTPUT -d fc01::10:0:0:0/80 -j ACCEPT
-A OUTPUT -d fc01::172:16:0:0/104 -j ACCEPT
-A OUTPUT -d fc01::192:168:0:0/104 -j ACCEPT
-A OUTPUT -d fc00:41d0:701:1100::/64 -j ACCEPT
-A OUTPUT -d fc00:41d0:801:2000::/64 -j ACCEPT
-A OUTPUT -d fc00:1f00:8100:400::/64 -j ACCEPT
-A OUTPUT -d fec0::/16 -j ACCEPT
-A OUTPUT -d fec1::/16 -j ACCEPT
-A OUTPUT -d fec2::/120 -j ACCEPT
-A OUTPUT -d fec3::/120 -j ACCEPT
-A OUTPUT -d fec4::/120 -j ACCEPT
-A OUTPUT -d fec5::/120 -j ACCEPT
-A OUTPUT -d fec0::/10 -j DROP
-A OUTPUT -d fc00::/7 -j DROP
-A OUTPUT -s 2a02:4780:28:5295::1/128 -j ACCEPT
-A OUTPUT -s fec5::1/128 -j ACCEPT
-A OUTPUT -j ACCEPT
-A OUTPUT -j LOG --log-prefix "OUTPUT-v6:"
-A OUTPUT -m rt --rt-type 0 -j DROP
-A BLACK -m recent --set --name BLACKLIST --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rsource -j DROP
-A CHECK_GRE -m recent --update --seconds 86400 --reap --name BLACKLIST --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rsource -j DROP
-A CHECK_GRE -m recent --update --seconds 60 --reap --hitcount 3 --name TIMER --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rsource -j BLACK
-A CHECK_GRE -m recent --set --name TIMER --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rsource -j ACCEPT
-A Syn-FLOOD -m limit --limit 1/sec --limit-burst 4 -j RETURN
-A Syn-FLOOD -j DROP
-A aICMPs -p ipv6-icmp -m icmp6 --icmpv6-type 1 -j ACCEPT
-A aICMPs -p ipv6-icmp -m icmp6 --icmpv6-type 2/0 -j ACCEPT
-A aICMPs -p ipv6-icmp -m icmp6 --icmpv6-type 3/0 -j ACCEPT
-A aICMPs -p ipv6-icmp -m icmp6 --icmpv6-type 3/1 -j ACCEPT
-A aICMPs -p ipv6-icmp -m icmp6 --icmpv6-type 4/0 -j ACCEPT
-A aICMPs -p ipv6-icmp -m icmp6 --icmpv6-type 4/1 -j ACCEPT
-A aICMPs -p ipv6-icmp -m icmp6 --icmpv6-type 4/2 -j ACCEPT
-A aICMPs -p ipv6-icmp -m icmp6 --icmpv6-type 128/0 -j ACCEPT
-A aICMPs -p ipv6-icmp -m icmp6 --icmpv6-type 129/0 -j ACCEPT
-A aICMPs -s fe80::/64 -p ipv6-icmp -m icmp6 --icmpv6-type 130/0 -m conntrack --ctstate NEW -m hl --hl-eq 1 -j ACCEPT
-A aICMPs -s fe80::/64 -p ipv6-icmp -m icmp6 --icmpv6-type 131/0 -m conntrack --ctstate NEW -m hl --hl-eq 1 -j ACCEPT
-A aICMPs -s fe80::/64 -p ipv6-icmp -m icmp6 --icmpv6-type 132/0 -m conntrack --ctstate NEW -m hl --hl-eq 1 -j ACCEPT
-A aICMPs -p ipv6-icmp -m icmp6 --icmpv6-type 133/0 -m hl --hl-eq 255 -j ACCEPT
-A aICMPs -s fe80::/64 -p ipv6-icmp -m icmp6 --icmpv6-type 134/0 -m hl --hl-eq 255 -j ACCEPT
-A aICMPs -p ipv6-icmp -m icmp6 --icmpv6-type 135/0 -m hl --hl-eq 255 -j ACCEPT
-A aICMPs -p ipv6-icmp -m icmp6 --icmpv6-type 136/0 -m hl --hl-eq 255 -j ACCEPT
-A aICMPs -p ipv6-icmp -m icmp6 --icmpv6-type 137/0 -j DROP
-A aICMPs -p ipv6-icmp -m icmp6 --icmpv6-type 138/0 -j DROP
-A aICMPs -p ipv6-icmp -m icmp6 --icmpv6-type 139/0 -j DROP
-A aICMPs -p ipv6-icmp -m icmp6 --icmpv6-type 140/0 -j DROP
-A aICMPs -d ff02::1/128 -p ipv6-icmp -m icmp6 --icmpv6-type 141/0 -m hl --hl-eq 255 -j ACCEPT
-A aICMPs -p ipv6-icmp -m icmp6 --icmpv6-type 142/0 -m hl --hl-eq 255 -j ACCEPT
-A aICMPs -s fe80::/64 -p ipv6-icmp -m icmp6 --icmpv6-type 143 -m conntrack --ctstate NEW -m hl --hl-eq 1 -j ACCEPT
-A aICMPs -p ipv6-icmp -m icmp6 --icmpv6-type 144/0 -j DROP
-A aICMPs -p ipv6-icmp -m icmp6 --icmpv6-type 145/0 -j DROP
-A aICMPs -p ipv6-icmp -m icmp6 --icmpv6-type 146/0 -j DROP
-A aICMPs -p ipv6-icmp -m icmp6 --icmpv6-type 147 -j DROP
-A aICMPs -p ipv6-icmp -m icmp6 --icmpv6-type 148 -m hl --hl-eq 255 -j ACCEPT
-A aICMPs -p ipv6-icmp -m icmp6 --icmpv6-type 149 -m hl --hl-eq 255 -j ACCEPT
-A aICMPs -s fe80::/64 -p ipv6-icmp -m icmp6 --icmpv6-type 151 -m conntrack --ctstate NEW -m hl --hl-eq 1 -j ACCEPT
-A aICMPs -s fe80::/64 -p ipv6-icmp -m icmp6 --icmpv6-type 152 -m conntrack --ctstate NEW -m hl --hl-eq 1 -j ACCEPT
-A aICMPs -s fe80::/64 -p ipv6-icmp -m icmp6 --icmpv6-type 153 -m conntrack --ctstate NEW -m hl --hl-eq 1 -j ACCEPT
-A aICMPs -p ipv6-icmp -m icmp6 --icmpv6-type 200 -j DROP
-A aICMPs -p ipv6-icmp -m icmp6 --icmpv6-type 201 -j DROP
-A aICMPs -p ipv6-icmp -m icmp6 --icmpv6-type 255 -j DROP
COMMIT
# Completed on Mon Aug 10 19:25:21 2026
# Generated by ip6tables-save v1.8.11 (nf_tables) on Mon Aug 10 19:25:21 2026
*nat
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [13160671:1057647696]
-A POSTROUTING -s fc00:4780:28:5295::1000/128 ! -d fc00::/7 -o eth0 -j MASQUERADE
-A POSTROUTING -s fc00:4780:28:5295::10/128 ! -d fc00::/7 -o eth0 -j MASQUERADE
-A POSTROUTING -s fc00:4780:28:5295::bdc/128 ! -d fc00::/7 -o eth0 -j MASQUERADE
-A POSTROUTING -s fc00::10:0:3:1000/128 ! -d fc00::/7 -o eth0 -j MASQUERADE
-A POSTROUTING -s fc00::10:0:3:db1/128 ! -d fc00::/7 -o eth0 -j MASQUERADE
-A POSTROUTING -s fc00::10:0:3:ad/128 ! -d fc00::/7 -o eth0 -j MASQUERADE
-A POSTROUTING -s fc00::10:0:3:10/128 ! -d fc00::/7 -o eth0 -j MASQUERADE
COMMIT
# Completed on Mon Aug 10 19:25:21 2026
