It's working now, although I'm not entirely sure what fixed it.
The last changes I made were correcting some interface names in the pbr config files. I changed the "wan6" interface name to the one I actually use, which is "wan_6", and I also changed the LAN interface from "br-lan" to "br-lan.1".
After making those changes, things started working.
One thing I noticed is that if PBR is disabled and I run an "nslookup" for Tenor, it fails to resolve and returns a server failure error. However, when PBR is enabled, the same lookup successfully returns an IP address.
So it seems like PBR is now handling the traffic correctly, but I'm still not completely sure which change actually resolved the issue and will it remain like this or not I will reboot my router multiple times to see if it's persistant or not and let you know
nft list ruleset
table inet fw4 {
set pbr_vpn_4_dst_ip_cfg096ff5 {
type ipv4_addr
flags interval
counter
auto-merge
comment "Tenor"
elements = { 34.120.13.18 counter packets 154 bytes 22269,
216.239.32.223 counter packets 16 bytes 10145,
216.239.34.223 counter packets 0 bytes 0,
216.239.36.223 counter packets 0 bytes 0,
216.239.38.223 counter packets 2845 bytes 620885 }
}
set pbr_vpn_4_dst_ip_cfg0a6ff5 {
type ipv4_addr
flags interval
counter
auto-merge
comment "Discord"
elements = { 162.159.128.233 counter packets 0 bytes 0,
162.159.130.234 counter packets 0 bytes 0,
162.159.133.234 counter packets 0 bytes 0,
162.159.134.234 counter packets 0 bytes 0,
162.159.135.232 counter packets 0 bytes 0,
162.159.135.234 counter packets 76 bytes 5991,
162.159.136.232 counter packets 11 bytes 3554,
162.159.136.234 counter packets 0 bytes 0,
162.159.137.232 counter packets 0 bytes 0,
162.159.138.232 counter packets 0 bytes 0 }
}
chain input {
type filter hook input priority filter; policy drop;
iif "lo" accept comment "!fw4: Accept traffic from loopback"
ct state vmap { established : accept, related : accept } comment "!fw4: Handle inbound flows"
tcp flags & (fin | syn | rst | ack) == syn jump syn_flood comment "!fw4: Rate limit TCP syn packets"
iifname "br-vlan.1" jump input_lan comment "!fw4: Handle lan IPv4/IPv6 input traffic"
iifname { "usb0", "pppoe-wan" } jump input_wan comment "!fw4: Handle wan IPv4/IPv6 input traffic"
iifname "br-vlan.8" jump input_guest comment "!fw4: Handle guest IPv4/IPv6 input traffic"
iifname "br-vlan.15" jump input_lan_vpn comment "!fw4: Handle lan_vpn IPv4/IPv6 input traffic"
iifname "vpn" jump input_wan_nat6 comment "!fw4: Handle wan_nat6 IPv4/IPv6 input traffic"
jump handle_reject
}
chain forward {
type filter hook forward priority filter; policy drop;
ct state vmap { established : accept, related : accept } comment "!fw4: Handle forwarded flows"
tcp dport 853 counter packets 2 bytes 128 jump handle_reject comment "!fw4: Block-DoT-DoQ"
udp dport 853 counter packets 0 bytes 0 jump handle_reject comment "!fw4: Block-DoT-DoQ"
iifname "br-vlan.1" jump forward_lan comment "!fw4: Handle lan IPv4/IPv6 forward traffic"
iifname { "usb0", "pppoe-wan" } jump forward_wan comment "!fw4: Handle wan IPv4/IPv6 forward traffic"
iifname "br-vlan.8" jump forward_guest comment "!fw4: Handle guest IPv4/IPv6 forward traffic"
iifname "br-vlan.15" jump forward_lan_vpn comment "!fw4: Handle lan_vpn IPv4/IPv6 forward traffic"
iifname "vpn" jump forward_wan_nat6 comment "!fw4: Handle wan_nat6 IPv4/IPv6 forward traffic"
jump handle_reject
}
chain output {
type filter hook output priority filter; policy accept;
oif "lo" accept comment "!fw4: Accept traffic towards loopback"
ct state vmap { established : accept, related : accept } comment "!fw4: Handle outbound flows"
oifname "br-vlan.1" jump output_lan comment "!fw4: Handle lan IPv4/IPv6 output traffic"
oifname { "usb0", "pppoe-wan" } jump output_wan comment "!fw4: Handle wan IPv4/IPv6 output traffic"
oifname "br-vlan.8" jump output_guest comment "!fw4: Handle guest IPv4/IPv6 output traffic"
oifname "br-vlan.15" jump output_lan_vpn comment "!fw4: Handle lan_vpn IPv4/IPv6 output traffic"
oifname "vpn" jump output_wan_nat6 comment "!fw4: Handle wan_nat6 IPv4/IPv6 output traffic"
}
chain prerouting {
type filter hook prerouting priority filter; policy accept;
iifname "br-vlan.1" jump helper_lan comment "!fw4: Handle lan IPv4/IPv6 helper assignment"
iifname "br-vlan.8" jump helper_guest comment "!fw4: Handle guest IPv4/IPv6 helper assignment"
}
chain handle_reject {
meta l4proto tcp reject with tcp reset comment "!fw4: Reject TCP traffic"
reject comment "!fw4: Reject any other traffic"
}
chain syn_flood {
limit rate 25/second burst 50 packets return comment "!fw4: Accept SYN packets below rate-limit"
drop comment "!fw4: Drop excess packets"
}
chain input_lan {
udp dport 5353 counter packets 33 bytes 6137 accept comment "!fw4: ubus:umdns[instance1] rule 0"
ct status dnat accept comment "!fw4: Accept port redirections"
jump accept_from_lan
}
chain output_lan {
jump accept_to_lan
}
chain forward_lan {
tcp dport 853 counter packets 0 bytes 0 jump handle_reject comment "!fw4: ubus:https-dns-proxy[instance1] rule 1"
udp dport 853 counter packets 0 bytes 0 jump handle_reject comment "!fw4: ubus:https-dns-proxy[instance1] rule 1"
jump accept_to_wan comment "!fw4: Accept lan to wan forwarding"
jump accept_to_wan_nat6 comment "!fw4: Accept lan to wan_nat6 forwarding"
ct status dnat accept comment "!fw4: Accept port forwards"
jump accept_to_lan
}
chain helper_lan {
}
chain accept_from_lan {
iifname "br-vlan.1" counter packets 506 bytes 568615 accept comment "!fw4: accept lan IPv4/IPv6 traffic"
}
chain accept_to_lan {
oifname "br-vlan.1" counter packets 132 bytes 541628 accept comment "!fw4: accept lan IPv4/IPv6 traffic"
}
chain input_wan {
meta nfproto ipv4 udp dport 68 counter packets 0 bytes 0 accept comment "!fw4: Allow-DHCP-Renew"
icmp type echo-request counter packets 0 bytes 0 accept comment "!fw4: Allow-Ping"
meta nfproto ipv4 meta l4proto igmp counter packets 0 bytes 0 accept comment "!fw4: Allow-IGMP"
meta nfproto ipv6 udp dport 546 counter packets 0 bytes 0 accept comment "!fw4: Allow-DHCPv6"
ip6 saddr fe80::/10 icmpv6 type . icmpv6 code { mld-listener-query . 0, mld-listener-report . 0, mld-listener-done . 0, mld2-listener-report . 0 } counter packets 0 bytes 0 accept comment "!fw4: Allow-MLD"
icmpv6 type { destination-unreachable, time-exceeded, echo-request, echo-reply, nd-router-solicit, nd-router-advert } limit rate 1000/second burst 5 packets counter packets 0 bytes 0 accept comment "!fw4: Allow-ICMPv6-Input"
icmpv6 type . icmpv6 code { packet-too-big . 0, parameter-problem . 0, nd-neighbor-solicit . 0, nd-neighbor-advert . 0, parameter-problem . 1 } limit rate 1000/second burst 5 packets counter packets 0 bytes 0 accept comment "!fw4: Allow-ICMPv6-Input"
jump reject_from_wan
}
chain output_wan {
jump accept_to_wan
}
chain forward_wan {
icmpv6 type { destination-unreachable, time-exceeded, echo-request, echo-reply } limit rate 1000/second burst 5 packets counter packets 0 bytes 0 accept comment "!fw4: Allow-ICMPv6-Forward"
icmpv6 type . icmpv6 code { packet-too-big . 0, parameter-problem . 0, parameter-problem . 1 } limit rate 1000/second burst 5 packets counter packets 0 bytes 0 accept comment "!fw4: Allow-ICMPv6-Forward"
meta l4proto esp counter packets 0 bytes 0 jump accept_to_lan comment "!fw4: Allow-IPSec-ESP"
udp dport 500 counter packets 0 bytes 0 jump accept_to_lan comment "!fw4: Allow-ISAKMP"
jump drop_to_wan
}
chain accept_to_wan {
meta nfproto ipv4 oifname { "usb0", "pppoe-wan" } ct state invalid counter packets 12 bytes 480 drop comment "!fw4: Prevent NAT leakage"
oifname { "usb0", "pppoe-wan" } counter packets 469 bytes 258110 accept comment "!fw4: accept wan IPv4/IPv6 traffic"
}
chain reject_from_wan {
iifname { "usb0", "pppoe-wan" } counter packets 47 bytes 6953 jump handle_reject comment "!fw4: reject wan IPv4/IPv6 traffic"
}
chain drop_to_wan {
oifname { "usb0", "pppoe-wan" } counter packets 0 bytes 0 drop comment "!fw4: drop wan IPv4/IPv6 traffic"
}
chain input_guest {
tcp dport { 53, 67, 123 } counter packets 0 bytes 0 accept comment "!fw4: guest Allow-DNS-DHCP-NTP"
udp dport { 53, 67, 123 } counter packets 0 bytes 0 accept comment "!fw4: guest Allow-DNS-DHCP-NTP"
icmp type echo-request counter packets 0 bytes 0 accept comment "!fw4: guest Allow-Ping"
meta nfproto ipv6 udp dport 546 counter packets 0 bytes 0 accept comment "!fw4: guest Allow-DHCPv6"
ip6 saddr fe80::/10 icmpv6 type . icmpv6 code { mld-listener-query . 0, mld-listener-report . 0, mld-listener-done . 0, mld2-listener-report . 0 } counter packets 0 bytes 0 accept comment "!fw4: guest Allow-MLD"
icmpv6 type { destination-unreachable, time-exceeded, echo-request, echo-reply, nd-router-solicit, nd-router-advert } limit rate 1000/second burst 5 packets counter packets 0 bytes 0 accept comment "!fw4: guest Allow-ICMPv6-Input"
icmpv6 type . icmpv6 code { packet-too-big . 0, parameter-problem . 0, nd-neighbor-solicit . 0, nd-neighbor-advert . 0, parameter-problem . 1 } limit rate 1000/second burst 5 packets counter packets 0 bytes 0 accept comment "!fw4: guest Allow-ICMPv6-Input"
ct status dnat accept comment "!fw4: Accept port redirections"
jump reject_from_guest
}
chain output_guest {
jump accept_to_guest
}
chain forward_guest {
jump accept_to_wan comment "!fw4: Accept guest to wan forwarding"
ct status dnat accept comment "!fw4: Accept port forwards"
jump reject_to_guest
}
chain helper_guest {
}
chain accept_to_guest {
oifname "br-vlan.8" counter packets 0 bytes 0 accept comment "!fw4: accept guest IPv4/IPv6 traffic"
}
chain reject_from_guest {
iifname "br-vlan.8" counter packets 0 bytes 0 jump handle_reject comment "!fw4: reject guest IPv4/IPv6 traffic"
}
chain reject_to_guest {
oifname "br-vlan.8" counter packets 0 bytes 0 jump handle_reject comment "!fw4: reject guest IPv4/IPv6 traffic"
}
chain input_lan_vpn {
tcp dport { 53, 67, 123 } counter packets 0 bytes 0 accept comment "!fw4: vpn Allow-DNS-DHCP-NTP"
udp dport { 53, 67, 123 } counter packets 0 bytes 0 accept comment "!fw4: vpn Allow-DNS-DHCP-NTP"
icmp type echo-request counter packets 0 bytes 0 accept comment "!fw4: vpn Allow-Ping"
meta nfproto ipv6 udp dport 546 counter packets 0 bytes 0 accept comment "!fw4: vpn Allow-DHCPv6"
meta l4proto ipv6-icmp ip6 saddr fe80::/10 counter packets 0 bytes 0 accept comment "!fw4: vpn Allow-MLD"
icmpv6 type { destination-unreachable, time-exceeded, echo-request, echo-reply, nd-router-solicit, nd-router-advert } limit rate 1000/second burst 5 packets counter packets 0 bytes 0 accept comment "!fw4: vpn Allow-ICMPv6-Input"
icmpv6 type . icmpv6 code { packet-too-big . 0, parameter-problem . 0, nd-neighbor-solicit . 0, nd-neighbor-advert . 0, parameter-problem . 1 } limit rate 1000/second burst 5 packets counter packets 0 bytes 0 accept comment "!fw4: vpn Allow-ICMPv6-Input"
jump reject_from_lan_vpn
}
chain output_lan_vpn {
jump accept_to_lan_vpn
}
chain forward_lan_vpn {
jump accept_to_wan_nat6 comment "!fw4: Accept lan_vpn to wan_nat6 forwarding"
jump reject_to_lan_vpn
}
chain accept_to_lan_vpn {
meta nfproto ipv4 oifname "br-vlan.15" ct state invalid counter packets 0 bytes 0 drop comment "!fw4: Prevent NAT leakage"
oifname "br-vlan.15" counter packets 0 bytes 0 accept comment "!fw4: accept lan_vpn IPv4/IPv6 traffic"
}
chain reject_from_lan_vpn {
iifname "br-vlan.15" counter packets 0 bytes 0 jump handle_reject comment "!fw4: reject lan_vpn IPv4/IPv6 traffic"
}
chain reject_to_lan_vpn {
oifname "br-vlan.15" counter packets 0 bytes 0 jump handle_reject comment "!fw4: reject lan_vpn IPv4/IPv6 traffic"
}
chain input_wan_nat6 {
jump reject_from_wan_nat6
}
chain output_wan_nat6 {
jump accept_to_wan_nat6
}
chain forward_wan_nat6 {
jump reject_to_wan_nat6
}
chain accept_to_wan_nat6 {
oifname "vpn" ct state invalid counter packets 0 bytes 0 drop comment "!fw4: Prevent NAT leakage"
oifname "vpn" counter packets 8 bytes 672 accept comment "!fw4: accept wan_nat6 IPv4/IPv6 traffic"
}
chain reject_from_wan_nat6 {
iifname "vpn" counter packets 0 bytes 0 jump handle_reject comment "!fw4: reject wan_nat6 IPv4/IPv6 traffic"
}
chain reject_to_wan_nat6 {
oifname "vpn" counter packets 0 bytes 0 jump handle_reject comment "!fw4: reject wan_nat6 IPv4/IPv6 traffic"
}
chain dstnat {
type nat hook prerouting priority dstnat; policy accept;
jump pbr_dstnat
iifname "br-vlan.1" jump dstnat_lan comment "!fw4: Handle lan IPv4/IPv6 dstnat traffic"
iifname "br-vlan.8" jump dstnat_guest comment "!fw4: Handle guest IPv4/IPv6 dstnat traffic"
}
chain srcnat {
type nat hook postrouting priority srcnat; policy accept;
oifname { "usb0", "pppoe-wan" } jump srcnat_wan comment "!fw4: Handle wan IPv4/IPv6 srcnat traffic"
oifname "br-vlan.15" jump srcnat_lan_vpn comment "!fw4: Handle lan_vpn IPv4/IPv6 srcnat traffic"
oifname "vpn" jump srcnat_wan_nat6 comment "!fw4: Handle wan_nat6 IPv4/IPv6 srcnat traffic"
}
chain dstnat_lan {
tcp dport 53 counter packets 0 bytes 0 redirect to :53 comment "!fw4: ubus:https-dns-proxy[instance1] redirect 0"
udp dport 53 counter packets 319 bytes 23174 redirect to :53 comment "!fw4: ubus:https-dns-proxy[instance1] redirect 0"
tcp dport 53 counter packets 0 bytes 0 redirect to :53 comment "!fw4: lan Intercept-DNS"
udp dport 53 counter packets 0 bytes 0 redirect to :53 comment "!fw4: lan Intercept-DNS"
}
chain srcnat_wan {
meta nfproto ipv4 masquerade comment "!fw4: Masquerade IPv4 wan traffic"
}
chain dstnat_guest {
tcp dport 53 counter packets 0 bytes 0 redirect to :53 comment "!fw4: guest Intercept-DNS"
udp dport 53 counter packets 0 bytes 0 redirect to :53 comment "!fw4: guest Intercept-DNS"
}
chain srcnat_lan_vpn {
meta nfproto ipv4 masquerade comment "!fw4: Masquerade IPv4 lan_vpn traffic"
}
chain srcnat_wan_nat6 {
meta nfproto ipv4 masquerade comment "!fw4: Masquerade IPv4 wan_nat6 traffic"
meta nfproto ipv6 masquerade comment "!fw4: Masquerade IPv6 wan_nat6 traffic"
}
chain raw_prerouting {
type filter hook prerouting priority raw; policy accept;
}
chain raw_output {
type filter hook output priority raw; policy accept;
}
chain mangle_prerouting {
type filter hook prerouting priority mangle; policy accept;
jump pbr_prerouting
}
chain mangle_postrouting {
type filter hook postrouting priority mangle; policy accept;
oifname { "usb0", "pppoe-wan" } tcp flags & (fin | syn | rst) == syn tcp option maxseg size set rt mtu comment "!fw4: Zone wan IPv4/IPv6 egress MTU fixing"
oifname "br-vlan.15" tcp flags & (fin | syn | rst) == syn tcp option maxseg size set rt mtu comment "!fw4: Zone lan_vpn IPv4/IPv6 egress MTU fixing"
oifname "vpn" tcp flags & (fin | syn | rst) == syn tcp option maxseg size set rt mtu comment "!fw4: Zone wan_nat6 IPv4/IPv6 egress MTU fixing"
}
chain mangle_input {
type filter hook input priority mangle; policy accept;
}
chain mangle_output {
type route hook output priority mangle; policy accept;
jump pbr_output
}
chain mangle_forward {
type filter hook forward priority mangle; policy accept;
iifname { "usb0", "pppoe-wan" } tcp flags & (fin | syn | rst) == syn tcp option maxseg size set rt mtu comment "!fw4: Zone wan IPv4/IPv6 ingress MTU fixing"
iifname "br-vlan.15" tcp flags & (fin | syn | rst) == syn tcp option maxseg size set rt mtu comment "!fw4: Zone lan_vpn IPv4/IPv6 ingress MTU fixing"
iifname "vpn" tcp flags & (fin | syn | rst) == syn tcp option maxseg size set rt mtu comment "!fw4: Zone wan_nat6 IPv4/IPv6 ingress MTU fixing"
jump pbr_forward
}
chain pbr_dstnat {
}
chain pbr_forward {
counter packets 45896 bytes 46230737 meta mark & 0x00ff0000 != 0x00000000 return
}
chain pbr_output {
counter packets 2497 bytes 1397005 meta mark & 0x00ff0000 != 0x00000000 return
}
chain pbr_prerouting {
counter packets 51294 bytes 54303867 meta mark & 0x00ff0000 != 0x00000000 return
ip daddr @pbr_vpn_4_dst_ip_cfg096ff5 counter packets 3015 bytes 653299 goto pbr_mark_0x020000 comment "Tenor"
ip daddr @pbr_vpn_4_dst_ip_cfg0a6ff5 counter packets 87 bytes 9545 goto pbr_mark_0x020000 comment "Discord"
}
chain pbr_mark_0x010000 {
counter packets 0 bytes 0 meta mark set meta mark & 0xff01ffff | 0x00010000
return
}
chain pbr_mark_0x020000 {
counter packets 3102 bytes 662844 meta mark set meta mark & 0xff02ffff | 0x00020000
return
}
}
Warning: table ip mangle is managed by iptables-nft, do not touch!
table ip mangle {
chain mwan3_ifaces_in {
meta mark & 0x00003f00 == 0x00000000 counter packets 1903 bytes 563867 jump mwan3_iface_in_vpn
meta mark & 0x00003f00 == 0x00000000 counter packets 1687 bytes 477185 jump mwan3_iface_in_wan
}
chain mwan3_custom_ipv4 {
xt match "set" counter packets 0 bytes 0 xt target "MARK"
}
chain mwan3_connected_ipv4 {
xt match "set" counter packets 847 bytes 67139 xt target "MARK"
}
chain mwan3_dynamic_ipv4 {
xt match "set" counter packets 0 bytes 0 xt target "MARK"
}
chain mwan3_rules {
ip saddr 192.168.15.0/24 meta mark & 0x00003f00 == 0x00000000 counter packets 0 bytes 0 jump mwan3_policy_vpn_only
ip protocol tcp xt match "multiport" meta mark & 0x00003f00 == 0x00000000 counter packets 778 bytes 40937 jump mwan3_rule_https
meta mark & 0x00003f00 == 0x00000000 counter packets 1177 bytes 691977 jump mwan3_policy_balanced
}
chain mwan3_hook {
meta mark & 0x00003f00 == 0x00000000 counter packets 114136 bytes 129372436 xt target "CONNMARK"
meta mark & 0x00003f00 == 0x00000000 counter packets 2727 bytes 800194 jump mwan3_ifaces_in
meta mark & 0x00003f00 == 0x00000000 counter packets 2662 bytes 789312 jump mwan3_custom_ipv4
meta mark & 0x00003f00 == 0x00000000 counter packets 2662 bytes 789312 jump mwan3_connected_ipv4
meta mark & 0x00003f00 == 0x00000000 counter packets 1955 bytes 732914 jump mwan3_dynamic_ipv4
meta mark & 0x00003f00 == 0x00000000 counter packets 1955 bytes 732914 jump mwan3_rules
counter packets 115104 bytes 130253587 xt target "CONNMARK"
meta mark & 0x00003f00 != 0x00003f00 counter packets 111571 bytes 126727254 jump mwan3_custom_ipv4
meta mark & 0x00003f00 != 0x00003f00 counter packets 111571 bytes 126727254 jump mwan3_connected_ipv4
meta mark & 0x00003f00 != 0x00003f00 counter packets 111431 bytes 126716513 jump mwan3_dynamic_ipv4
}
chain PREROUTING {
type filter hook prerouting priority mangle; policy accept;
counter packets 110905 bytes 127470155 jump mwan3_hook
}
chain OUTPUT {
type route hook output priority mangle; policy accept;
counter packets 4199 bytes 2783432 jump mwan3_hook
}
chain mwan3_policy_balanced {
meta mark & 0x00003f00 == 0x00000000 xt match "comment" counter packets 1200 bytes 401848 xt target "MARK"
}
chain mwan3_policy_wan_only {
meta mark & 0x00003f00 == 0x00000000 xt match "comment" counter packets 0 bytes 0 xt target "MARK"
}
chain mwan3_policy_usb0_only {
meta mark & 0x00003f00 == 0x00000000 xt match "comment" counter packets 0 bytes 0 xt target "MARK"
}
chain mwan3_policy_vpn_only {
meta mark & 0x00003f00 == 0x00000000 xt match "comment" counter packets 0 bytes 0 xt target "MARK"
}
chain mwan3_rule_https {
meta mark & 0x00003f00 == 0x00000000 counter packets 778 bytes 40937 jump mwan3_policy_balanced
meta mark & 0x0000fc00 != 0x0000fc00 counter packets 778 bytes 40937 xt target "SET"
meta mark & 0x0000fc00 != 0x0000fc00 counter packets 778 bytes 40937 xt target "SET"
}
chain mwan3_iface_in_vpn {
iifname "vpn" xt match "set" meta mark & 0x00003f00 == 0x00000000 xt match "comment" counter packets 0 bytes 0 xt target "MARK"
iifname "vpn" xt match "set" meta mark & 0x00003f00 == 0x00000000 xt match "comment" counter packets 0 bytes 0 xt target "MARK"
iifname "vpn" xt match "set" meta mark & 0x00003f00 == 0x00000000 xt match "comment" counter packets 0 bytes 0 xt target "MARK"
iifname "vpn" meta mark & 0x00003f00 == 0x00000000 xt match "comment" counter packets 0 bytes 0 xt target "MARK"
}
chain mwan3_iface_in_wan {
iifname "pppoe-wan" xt match "set" meta mark & 0x00003f00 == 0x00000000 xt match "comment" counter packets 0 bytes 0 xt target "MARK"
iifname "pppoe-wan" xt match "set" meta mark & 0x00003f00 == 0x00000000 xt match "comment" counter packets 0 bytes 0 xt target "MARK"
iifname "pppoe-wan" xt match "set" meta mark & 0x00003f00 == 0x00000000 xt match "comment" counter packets 0 bytes 0 xt target "MARK"
iifname "pppoe-wan" meta mark & 0x00003f00 == 0x00000000 xt match "comment" counter packets 65 bytes 10882 xt target "MARK"
}
}
Warning: table ip6 mangle is managed by iptables-nft, do not touch!
table ip6 mangle {
chain mwan3_ifaces_in {
}
chain mwan3_custom_ipv6 {
xt match "set" counter packets 0 bytes 0 xt target "MARK"
}
chain mwan3_connected_ipv6 {
xt match "set" counter packets 195 bytes 17012 xt target "MARK"
}
chain mwan3_dynamic_ipv6 {
xt match "set" counter packets 0 bytes 0 xt target "MARK"
}
chain mwan3_rules {
ip6 saddr fd36:45b7:3080:10::/60 meta mark & 0x00003f00 == 0x00000000 counter packets 0 bytes 0 jump mwan3_policy_vpn_only
meta l4proto tcp xt match "multiport" meta mark & 0x00003f00 == 0x00000000 counter packets 0 bytes 0 jump mwan3_rule_https
meta mark & 0x00003f00 == 0x00000000 counter packets 139 bytes 16151 jump mwan3_policy_balanced
}
chain mwan3_hook {
meta l4proto ipv6-icmp xt match "icmp6" counter packets 23 bytes 1288 return
meta l4proto ipv6-icmp xt match "icmp6" counter packets 26 bytes 2456 return
meta l4proto ipv6-icmp xt match "icmp6" counter packets 18 bytes 1296 return
meta l4proto ipv6-icmp xt match "icmp6" counter packets 5 bytes 336 return
meta l4proto ipv6-icmp xt match "icmp6" counter packets 0 bytes 0 return
meta mark & 0x00003f00 == 0x00000000 counter packets 670 bytes 78276 xt target "CONNMARK"
meta mark & 0x00003f00 == 0x00000000 counter packets 334 bytes 33163 jump mwan3_ifaces_in
meta mark & 0x00003f00 == 0x00000000 counter packets 334 bytes 33163 jump mwan3_custom_ipv6
meta mark & 0x00003f00 == 0x00000000 counter packets 334 bytes 33163 jump mwan3_connected_ipv6
meta mark & 0x00003f00 == 0x00000000 counter packets 139 bytes 16151 jump mwan3_dynamic_ipv6
meta mark & 0x00003f00 == 0x00000000 counter packets 139 bytes 16151 jump mwan3_rules
counter packets 822 bytes 94339 xt target "CONNMARK"
meta mark & 0x00003f00 != 0x00003f00 counter packets 373 bytes 43854 jump mwan3_custom_ipv6
meta mark & 0x00003f00 != 0x00003f00 counter packets 373 bytes 43854 jump mwan3_connected_ipv6
meta mark & 0x00003f00 != 0x00003f00 counter packets 373 bytes 43854 jump mwan3_dynamic_ipv6
}
chain PREROUTING {
type filter hook prerouting priority mangle; policy accept;
counter packets 457 bytes 46985 jump mwan3_hook
}
chain OUTPUT {
type route hook output priority mangle; policy accept;
counter packets 437 bytes 52730 jump mwan3_hook
}
chain mwan3_policy_balanced {
meta mark & 0x00003f00 == 0x00000000 xt match "comment" counter packets 59 bytes 5454 xt target "MARK"
}
chain mwan3_policy_wan_only {
meta mark & 0x00003f00 == 0x00000000 xt match "comment" counter packets 0 bytes 0 xt target "MARK"
}
chain mwan3_policy_usb0_only {
meta mark & 0x00003f00 == 0x00000000 xt match "comment" counter packets 0 bytes 0 xt target "MARK"
}
chain mwan3_policy_vpn_only {
meta mark & 0x00003f00 == 0x00000000 xt match "comment" counter packets 0 bytes 0 xt target "MARK"
}
chain mwan3_rule_https {
meta mark & 0x00003f00 == 0x00000000 counter packets 0 bytes 0 jump mwan3_policy_balanced
meta mark & 0x0000fc00 != 0x0000fc00 counter packets 0 bytes 0 xt target "SET"
meta mark & 0x0000fc00 != 0x0000fc00 counter packets 0 bytes 0 xt target "SET"
}
}
table inet https_dns_proxy_notrack {
chain raw_output {
type filter hook output priority raw; policy accept;
meta l4proto { tcp, udp } th dport { 5053, 5054 } ip daddr 127.0.0.0/8 notrack
meta l4proto { tcp, udp } th sport { 5053, 5054 } ip saddr 127.0.0.0/8 notrack
}
}