I forgot to include my nft information:
root@roooter:~# nft list ruleset
table inet firewalld {
chain mangle_PREROUTING {
type filter hook prerouting priority mangle + 10; policy accept;
jump mangle_PREROUTING_POLICIES
}
chain mangle_PREROUTING_POLICIES {
iifname "ens33" jump mangle_PRE_policy_allow-host-ipv6
iifname "ens33" jump mangle_PRE_public
iifname "ens33" return
iifname "gameserver-net" jump mangle_PRE_policy_allow-host-ipv6
iifname "gameserver-net" jump mangle_PRE_trusted
iifname "gameserver-net" return
iifname "mgmt-net" jump mangle_PRE_policy_allow-host-ipv6
iifname "mgmt-net" jump mangle_PRE_trusted
iifname "mgmt-net" return
iifname "team1-net" jump mangle_PRE_policy_allow-host-ipv6
iifname "team1-net" jump mangle_PRE_trusted
iifname "team1-net" return
iifname "team2-net" jump mangle_PRE_policy_allow-host-ipv6
iifname "team2-net" jump mangle_PRE_trusted
iifname "team2-net" return
jump mangle_PRE_policy_allow-host-ipv6
jump mangle_PRE_public
return
}
chain nat_PREROUTING {
type nat hook prerouting priority dstnat + 10; policy accept;
jump nat_PREROUTING_POLICIES
}
chain nat_PREROUTING_POLICIES {
iifname "ens33" jump nat_PRE_policy_allow-host-ipv6
iifname "ens33" jump nat_PRE_public
iifname "ens33" return
iifname "gameserver-net" jump nat_PRE_policy_allow-host-ipv6
iifname "gameserver-net" jump nat_PRE_trusted
iifname "gameserver-net" return
iifname "mgmt-net" jump nat_PRE_policy_allow-host-ipv6
iifname "mgmt-net" jump nat_PRE_trusted
iifname "mgmt-net" return
iifname "team1-net" jump nat_PRE_policy_allow-host-ipv6
iifname "team1-net" jump nat_PRE_trusted
iifname "team1-net" return
iifname "team2-net" jump nat_PRE_policy_allow-host-ipv6
iifname "team2-net" jump nat_PRE_trusted
iifname "team2-net" return
jump nat_PRE_policy_allow-host-ipv6
jump nat_PRE_public
return
}
chain nat_POSTROUTING {
type nat hook postrouting priority srcnat + 10; policy accept;
jump nat_POSTROUTING_POLICIES
}
chain nat_POSTROUTING_POLICIES {
iifname "ens33" oifname "ens33" jump nat_POST_public
iifname "ens33" oifname "ens33" return
iifname "gameserver-net" oifname "ens33" jump nat_POST_public
iifname "gameserver-net" oifname "ens33" return
iifname "mgmt-net" oifname "ens33" jump nat_POST_public
iifname "mgmt-net" oifname "ens33" return
iifname "team1-net" oifname "ens33" jump nat_POST_public
iifname "team1-net" oifname "ens33" return
iifname "team2-net" oifname "ens33" jump nat_POST_public
iifname "team2-net" oifname "ens33" return
oifname "ens33" jump nat_POST_public
oifname "ens33" return
iifname "ens33" oifname "gameserver-net" jump nat_POST_trusted
iifname "ens33" oifname "gameserver-net" return
iifname "gameserver-net" oifname "gameserver-net" jump nat_POST_trusted
iifname "gameserver-net" oifname "gameserver-net" return
iifname "mgmt-net" oifname "gameserver-net" jump nat_POST_trusted
iifname "mgmt-net" oifname "gameserver-net" return
iifname "team1-net" oifname "gameserver-net" jump nat_POST_trusted
iifname "team1-net" oifname "gameserver-net" return
iifname "team2-net" oifname "gameserver-net" jump nat_POST_trusted
iifname "team2-net" oifname "gameserver-net" return
oifname "gameserver-net" jump nat_POST_trusted
oifname "gameserver-net" return
iifname "ens33" oifname "mgmt-net" jump nat_POST_trusted
iifname "ens33" oifname "mgmt-net" return
iifname "gameserver-net" oifname "mgmt-net" jump nat_POST_trusted
iifname "gameserver-net" oifname "mgmt-net" return
iifname "mgmt-net" oifname "mgmt-net" jump nat_POST_trusted
iifname "mgmt-net" oifname "mgmt-net" return
iifname "team1-net" oifname "mgmt-net" jump nat_POST_trusted
iifname "team1-net" oifname "mgmt-net" return
iifname "team2-net" oifname "mgmt-net" jump nat_POST_trusted
iifname "team2-net" oifname "mgmt-net" return
oifname "mgmt-net" jump nat_POST_trusted
oifname "mgmt-net" return
iifname "ens33" oifname "team1-net" jump nat_POST_trusted
iifname "ens33" oifname "team1-net" return
iifname "gameserver-net" oifname "team1-net" jump nat_POST_trusted
iifname "gameserver-net" oifname "team1-net" return
iifname "mgmt-net" oifname "team1-net" jump nat_POST_trusted
iifname "mgmt-net" oifname "team1-net" return
iifname "team1-net" oifname "team1-net" jump nat_POST_trusted
iifname "team1-net" oifname "team1-net" return
iifname "team2-net" oifname "team1-net" jump nat_POST_trusted
iifname "team2-net" oifname "team1-net" return
oifname "team1-net" jump nat_POST_trusted
oifname "team1-net" return
iifname "ens33" oifname "team2-net" jump nat_POST_trusted
iifname "ens33" oifname "team2-net" return
iifname "gameserver-net" oifname "team2-net" jump nat_POST_trusted
iifname "gameserver-net" oifname "team2-net" return
iifname "mgmt-net" oifname "team2-net" jump nat_POST_trusted
iifname "mgmt-net" oifname "team2-net" return
iifname "team1-net" oifname "team2-net" jump nat_POST_trusted
iifname "team1-net" oifname "team2-net" return
iifname "team2-net" oifname "team2-net" jump nat_POST_trusted
iifname "team2-net" oifname "team2-net" return
oifname "team2-net" jump nat_POST_trusted
oifname "team2-net" return
iifname "ens33" jump nat_POST_public
iifname "ens33" return
iifname "gameserver-net" jump nat_POST_public
iifname "gameserver-net" return
iifname "mgmt-net" jump nat_POST_public
iifname "mgmt-net" return
iifname "team1-net" jump nat_POST_public
iifname "team1-net" return
iifname "team2-net" jump nat_POST_public
iifname "team2-net" return
jump nat_POST_public
return
}
chain nat_OUTPUT {
type nat hook output priority dstnat + 10; policy accept;
jump nat_OUTPUT_POLICIES
}
chain nat_OUTPUT_POLICIES {
oifname "ens33" jump nat_OUT_public
oifname "ens33" return
oifname "gameserver-net" jump nat_OUT_trusted
oifname "gameserver-net" return
oifname "mgmt-net" jump nat_OUT_trusted
oifname "mgmt-net" return
oifname "team1-net" jump nat_OUT_trusted
oifname "team1-net" return
oifname "team2-net" jump nat_OUT_trusted
oifname "team2-net" return
jump nat_OUT_public
return
}
chain filter_PREROUTING {
type filter hook prerouting priority filter + 10; policy accept;
icmpv6 type { nd-router-advert, nd-neighbor-solicit } accept
meta nfproto ipv6 fib saddr . mark . iif oif missing drop
}
chain filter_INPUT {
type filter hook input priority filter + 10; policy accept;
ct state { established, related } accept
ct status dnat accept
iifname "lo" accept
ct state invalid drop
jump filter_INPUT_POLICIES
reject with icmpx admin-prohibited
}
chain filter_FORWARD {
type filter hook forward priority filter + 10; policy accept;
ct state { established, related } accept
ct status dnat accept
iifname "lo" accept
ct state invalid drop
ip6 daddr { ::/96, ::ffff:0.0.0.0/96, 2002::/24, 2002:a00::/24, 2002:7f00::/24, 2002:a9fe::/32, 2002:ac10::/28, 2002:c0a8::/32, 2002:e000::/19 } reject with icmpv6 addr-unreachable
jump filter_FORWARD_POLICIES
reject with icmpx admin-prohibited
}
chain filter_OUTPUT {
type filter hook output priority filter + 10; policy accept;
ct state { established, related } accept
oifname "lo" accept
ip6 daddr { ::/96, ::ffff:0.0.0.0/96, 2002::/24, 2002:a00::/24, 2002:7f00::/24, 2002:a9fe::/32, 2002:ac10::/28, 2002:c0a8::/32, 2002:e000::/19 } reject with icmpv6 addr-unreachable
jump filter_OUTPUT_POLICIES
}
chain filter_INPUT_POLICIES {
iifname "ens33" jump filter_IN_policy_allow-host-ipv6
iifname "ens33" jump filter_IN_public
iifname "ens33" reject with icmpx admin-prohibited
iifname "gameserver-net" jump filter_IN_policy_allow-host-ipv6
iifname "gameserver-net" jump filter_IN_trusted
iifname "gameserver-net" accept
iifname "mgmt-net" jump filter_IN_policy_allow-host-ipv6
iifname "mgmt-net" jump filter_IN_trusted
iifname "mgmt-net" accept
iifname "team1-net" jump filter_IN_policy_allow-host-ipv6
iifname "team1-net" jump filter_IN_trusted
iifname "team1-net" accept
iifname "team2-net" jump filter_IN_policy_allow-host-ipv6
iifname "team2-net" jump filter_IN_trusted
iifname "team2-net" accept
jump filter_IN_policy_allow-host-ipv6
jump filter_IN_public
reject with icmpx admin-prohibited
}
chain filter_FORWARD_POLICIES {
iifname "ens33" oifname "ens33" jump filter_FWD_public
iifname "ens33" oifname "ens33" reject with icmpx admin-prohibited
iifname "ens33" oifname "gameserver-net" jump filter_FWD_public
iifname "ens33" oifname "gameserver-net" reject with icmpx admin-prohibited
iifname "ens33" oifname "mgmt-net" jump filter_FWD_public
iifname "ens33" oifname "mgmt-net" reject with icmpx admin-prohibited
iifname "ens33" oifname "team1-net" jump filter_FWD_public
iifname "ens33" oifname "team1-net" reject with icmpx admin-prohibited
iifname "ens33" oifname "team2-net" jump filter_FWD_public
iifname "ens33" oifname "team2-net" reject with icmpx admin-prohibited
iifname "ens33" jump filter_FWD_public
iifname "ens33" reject with icmpx admin-prohibited
iifname "gameserver-net" oifname "ens33" jump filter_FWD_trusted
iifname "gameserver-net" oifname "ens33" accept
iifname "gameserver-net" oifname "gameserver-net" jump filter_FWD_trusted
iifname "gameserver-net" oifname "gameserver-net" accept
iifname "gameserver-net" oifname "mgmt-net" jump filter_FWD_trusted
iifname "gameserver-net" oifname "mgmt-net" accept
iifname "gameserver-net" oifname "team1-net" jump filter_FWD_trusted
iifname "gameserver-net" oifname "team1-net" accept
iifname "gameserver-net" oifname "team2-net" jump filter_FWD_trusted
iifname "gameserver-net" oifname "team2-net" accept
iifname "gameserver-net" jump filter_FWD_trusted
iifname "gameserver-net" accept
iifname "mgmt-net" oifname "ens33" jump filter_FWD_trusted
iifname "mgmt-net" oifname "ens33" accept
iifname "mgmt-net" oifname "gameserver-net" jump filter_FWD_trusted
iifname "mgmt-net" oifname "gameserver-net" accept
iifname "mgmt-net" oifname "mgmt-net" jump filter_FWD_trusted
iifname "mgmt-net" oifname "mgmt-net" accept
iifname "mgmt-net" oifname "team1-net" jump filter_FWD_trusted
iifname "mgmt-net" oifname "team1-net" accept
iifname "mgmt-net" oifname "team2-net" jump filter_FWD_trusted
iifname "mgmt-net" oifname "team2-net" accept
iifname "mgmt-net" jump filter_FWD_trusted
iifname "mgmt-net" accept
iifname "team1-net" oifname "ens33" jump filter_FWD_trusted
iifname "team1-net" oifname "ens33" accept
iifname "team1-net" oifname "gameserver-net" jump filter_FWD_trusted
iifname "team1-net" oifname "gameserver-net" accept
iifname "team1-net" oifname "mgmt-net" jump filter_FWD_trusted
iifname "team1-net" oifname "mgmt-net" accept
iifname "team1-net" oifname "team1-net" jump filter_FWD_trusted
iifname "team1-net" oifname "team1-net" accept
iifname "team1-net" oifname "team2-net" jump filter_FWD_trusted
iifname "team1-net" oifname "team2-net" accept
iifname "team1-net" jump filter_FWD_trusted
iifname "team1-net" accept
iifname "team2-net" oifname "ens33" jump filter_FWD_trusted
iifname "team2-net" oifname "ens33" accept
iifname "team2-net" oifname "gameserver-net" jump filter_FWD_trusted
iifname "team2-net" oifname "gameserver-net" accept
iifname "team2-net" oifname "mgmt-net" jump filter_FWD_trusted
iifname "team2-net" oifname "mgmt-net" accept
iifname "team2-net" oifname "team1-net" jump filter_FWD_trusted
iifname "team2-net" oifname "team1-net" accept
iifname "team2-net" oifname "team2-net" jump filter_FWD_trusted
iifname "team2-net" oifname "team2-net" accept
iifname "team2-net" jump filter_FWD_trusted
iifname "team2-net" accept
oifname "ens33" jump filter_FWD_public
oifname "ens33" reject with icmpx admin-prohibited
oifname "gameserver-net" jump filter_FWD_public
oifname "gameserver-net" reject with icmpx admin-prohibited
oifname "mgmt-net" jump filter_FWD_public
oifname "mgmt-net" reject with icmpx admin-prohibited
oifname "team1-net" jump filter_FWD_public
oifname "team1-net" reject with icmpx admin-prohibited
oifname "team2-net" jump filter_FWD_public
oifname "team2-net" reject with icmpx admin-prohibited
jump filter_FWD_public
reject with icmpx admin-prohibited
}
chain filter_OUTPUT_POLICIES {
oifname "ens33" jump filter_OUT_public
oifname "ens33" return
oifname "gameserver-net" jump filter_OUT_trusted
oifname "gameserver-net" return
oifname "mgmt-net" jump filter_OUT_trusted
oifname "mgmt-net" return
oifname "team1-net" jump filter_OUT_trusted
oifname "team1-net" return
oifname "team2-net" jump filter_OUT_trusted
oifname "team2-net" return
jump filter_OUT_public
return
}
chain filter_IN_public {
jump filter_IN_public_pre
jump filter_IN_public_log
jump filter_IN_public_deny
jump filter_IN_public_allow
jump filter_IN_public_post
meta l4proto { icmp, ipv6-icmp } accept
}
chain filter_IN_public_pre {
}
chain filter_IN_public_log {
}
chain filter_IN_public_deny {
}
chain filter_IN_public_allow {
tcp dport 22 accept
ip6 daddr fe80::/64 udp dport 546 accept
}
chain filter_IN_public_post {
}
chain filter_OUT_public {
jump filter_OUT_public_pre
jump filter_OUT_public_log
jump filter_OUT_public_deny
jump filter_OUT_public_allow
jump filter_OUT_public_post
}
chain filter_OUT_public_pre {
}
chain filter_OUT_public_log {
}
chain filter_OUT_public_deny {
}
chain filter_OUT_public_allow {
}
chain filter_OUT_public_post {
}
chain nat_OUT_public {
jump nat_OUT_public_pre
jump nat_OUT_public_log
jump nat_OUT_public_deny
jump nat_OUT_public_allow
jump nat_OUT_public_post
}
chain nat_OUT_public_pre {
}
chain nat_OUT_public_log {
}
chain nat_OUT_public_deny {
}
chain nat_OUT_public_allow {
}
chain nat_OUT_public_post {
}
chain nat_POST_public {
jump nat_POST_public_pre
jump nat_POST_public_log
jump nat_POST_public_deny
jump nat_POST_public_allow
jump nat_POST_public_post
}
chain nat_POST_public_pre {
}
chain nat_POST_public_log {
}
chain nat_POST_public_deny {
}
chain nat_POST_public_allow {
}
chain nat_POST_public_post {
}
chain filter_FWD_public {
jump filter_FWD_public_pre
jump filter_FWD_public_log
jump filter_FWD_public_deny
jump filter_FWD_public_allow
jump filter_FWD_public_post
}
chain filter_FWD_public_pre {
}
chain filter_FWD_public_log {
}
chain filter_FWD_public_deny {
}
chain filter_FWD_public_allow {
oifname "ens33" accept
}
chain filter_FWD_public_post {
}
chain nat_PRE_public {
jump nat_PRE_public_pre
jump nat_PRE_public_log
jump nat_PRE_public_deny
jump nat_PRE_public_allow
jump nat_PRE_public_post
}
chain nat_PRE_public_pre {
}
chain nat_PRE_public_log {
}
chain nat_PRE_public_deny {
}
chain nat_PRE_public_allow {
}
chain nat_PRE_public_post {
}
chain mangle_PRE_public {
jump mangle_PRE_public_pre
jump mangle_PRE_public_log
jump mangle_PRE_public_deny
jump mangle_PRE_public_allow
jump mangle_PRE_public_post
}
chain mangle_PRE_public_pre {
}
chain mangle_PRE_public_log {
}
chain mangle_PRE_public_deny {
}
chain mangle_PRE_public_allow {
}
chain mangle_PRE_public_post {
}
chain filter_IN_trusted {
jump filter_IN_trusted_pre
jump filter_IN_trusted_log
jump filter_IN_trusted_deny
jump filter_IN_trusted_allow
jump filter_IN_trusted_post
}
chain filter_IN_trusted_pre {
}
chain filter_IN_trusted_log {
}
chain filter_IN_trusted_deny {
}
chain filter_IN_trusted_allow {
}
chain filter_IN_trusted_post {
}
chain filter_OUT_trusted {
jump filter_OUT_trusted_pre
jump filter_OUT_trusted_log
jump filter_OUT_trusted_deny
jump filter_OUT_trusted_allow
jump filter_OUT_trusted_post
}
chain filter_OUT_trusted_pre {
}
chain filter_OUT_trusted_log {
}
chain filter_OUT_trusted_deny {
}
chain filter_OUT_trusted_allow {
}
chain filter_OUT_trusted_post {
}
chain nat_OUT_trusted {
jump nat_OUT_trusted_pre
jump nat_OUT_trusted_log
jump nat_OUT_trusted_deny
jump nat_OUT_trusted_allow
jump nat_OUT_trusted_post
}
chain nat_OUT_trusted_pre {
}
chain nat_OUT_trusted_log {
}
chain nat_OUT_trusted_deny {
}
chain nat_OUT_trusted_allow {
}
chain nat_OUT_trusted_post {
}
chain nat_POST_trusted {
jump nat_POST_trusted_pre
jump nat_POST_trusted_log
jump nat_POST_trusted_deny
jump nat_POST_trusted_allow
jump nat_POST_trusted_post
}
chain nat_POST_trusted_pre {
}
chain nat_POST_trusted_log {
}
chain nat_POST_trusted_deny {
}
chain nat_POST_trusted_allow {
}
chain nat_POST_trusted_post {
}
chain filter_FWD_trusted {
jump filter_FWD_trusted_pre
jump filter_FWD_trusted_log
jump filter_FWD_trusted_deny
jump filter_FWD_trusted_allow
jump filter_FWD_trusted_post
}
chain filter_FWD_trusted_pre {
}
chain filter_FWD_trusted_log {
}
chain filter_FWD_trusted_deny {
}
chain filter_FWD_trusted_allow {
oifname "mgmt-net" accept
oifname "team1-net" accept
oifname "team2-net" accept
oifname "gameserver-net" accept
}
chain filter_FWD_trusted_post {
}
chain nat_PRE_trusted {
jump nat_PRE_trusted_pre
jump nat_PRE_trusted_log
jump nat_PRE_trusted_deny
jump nat_PRE_trusted_allow
jump nat_PRE_trusted_post
}
chain nat_PRE_trusted_pre {
}
chain nat_PRE_trusted_log {
}
chain nat_PRE_trusted_deny {
}
chain nat_PRE_trusted_allow {
}
chain nat_PRE_trusted_post {
}
chain mangle_PRE_trusted {
jump mangle_PRE_trusted_pre
jump mangle_PRE_trusted_log
jump mangle_PRE_trusted_deny
jump mangle_PRE_trusted_allow
jump mangle_PRE_trusted_post
}
chain mangle_PRE_trusted_pre {
}
chain mangle_PRE_trusted_log {
}
chain mangle_PRE_trusted_deny {
}
chain mangle_PRE_trusted_allow {
}
chain mangle_PRE_trusted_post {
}
chain filter_IN_policy_allow-host-ipv6 {
jump filter_IN_policy_allow-host-ipv6_pre
jump filter_IN_policy_allow-host-ipv6_log
jump filter_IN_policy_allow-host-ipv6_deny
jump filter_IN_policy_allow-host-ipv6_allow
jump filter_IN_policy_allow-host-ipv6_post
}
chain filter_IN_policy_allow-host-ipv6_pre {
}
chain filter_IN_policy_allow-host-ipv6_log {
}
chain filter_IN_policy_allow-host-ipv6_deny {
}
chain filter_IN_policy_allow-host-ipv6_allow {
icmpv6 type nd-neighbor-advert accept
icmpv6 type nd-neighbor-solicit accept
icmpv6 type nd-router-advert accept
icmpv6 type nd-redirect accept
}
chain filter_IN_policy_allow-host-ipv6_post {
}
chain nat_PRE_policy_allow-host-ipv6 {
jump nat_PRE_policy_allow-host-ipv6_pre
jump nat_PRE_policy_allow-host-ipv6_log
jump nat_PRE_policy_allow-host-ipv6_deny
jump nat_PRE_policy_allow-host-ipv6_allow
jump nat_PRE_policy_allow-host-ipv6_post
}
chain nat_PRE_policy_allow-host-ipv6_pre {
}
chain nat_PRE_policy_allow-host-ipv6_log {
}
chain nat_PRE_policy_allow-host-ipv6_deny {
}
chain nat_PRE_policy_allow-host-ipv6_allow {
}
chain nat_PRE_policy_allow-host-ipv6_post {
}
chain mangle_PRE_policy_allow-host-ipv6 {
jump mangle_PRE_policy_allow-host-ipv6_pre
jump mangle_PRE_policy_allow-host-ipv6_log
jump mangle_PRE_policy_allow-host-ipv6_deny
jump mangle_PRE_policy_allow-host-ipv6_allow
jump mangle_PRE_policy_allow-host-ipv6_post
}
chain mangle_PRE_policy_allow-host-ipv6_pre {
}
chain mangle_PRE_policy_allow-host-ipv6_log {
}
chain mangle_PRE_policy_allow-host-ipv6_deny {
}
chain mangle_PRE_policy_allow-host-ipv6_allow {
}
chain mangle_PRE_policy_allow-host-ipv6_post {
}
}
table inet incus {
chain pstrt.mgmt-net {
type nat hook postrouting priority srcnat; policy accept;
ip saddr 10.0.0.0/24 ip daddr != 10.0.0.0/24 masquerade
}
chain fwd.mgmt-net {
type filter hook forward priority filter; policy accept;
ip version 4 oifname "mgmt-net" accept
ip version 4 iifname "mgmt-net" accept
}
chain in.mgmt-net {
type filter hook input priority filter; policy accept;
iifname "mgmt-net" tcp dport 53 accept
iifname "mgmt-net" udp dport 53 accept
iifname "mgmt-net" icmp type { destination-unreachable, time-exceeded, parameter-problem } accept
iifname "mgmt-net" udp dport 67 accept
}
chain out.mgmt-net {
type filter hook output priority filter; policy accept;
oifname "mgmt-net" tcp sport 53 accept
oifname "mgmt-net" udp sport 53 accept
oifname "mgmt-net" icmp type { destination-unreachable, time-exceeded, parameter-problem } accept
oifname "mgmt-net" udp sport 67 accept
}
chain fwd.team1-net {
type filter hook forward priority filter; policy accept;
ip version 4 oifname "team1-net" accept
ip version 4 iifname "team1-net" accept
}
chain in.team1-net {
type filter hook input priority filter; policy accept;
iifname "team1-net" tcp dport 53 accept
iifname "team1-net" udp dport 53 accept
iifname "team1-net" icmp type { destination-unreachable, time-exceeded, parameter-problem } accept
iifname "team1-net" udp dport 67 accept
}
chain out.team1-net {
type filter hook output priority filter; policy accept;
oifname "team1-net" tcp sport 53 accept
oifname "team1-net" udp sport 53 accept
oifname "team1-net" icmp type { destination-unreachable, time-exceeded, parameter-problem } accept
oifname "team1-net" udp sport 67 accept
}
chain fwd.team2-net {
type filter hook forward priority filter; policy accept;
ip version 4 oifname "team2-net" accept
ip version 4 iifname "team2-net" accept
}
chain in.team2-net {
type filter hook input priority filter; policy accept;
iifname "team2-net" tcp dport 53 accept
iifname "team2-net" udp dport 53 accept
iifname "team2-net" icmp type { destination-unreachable, time-exceeded, parameter-problem } accept
iifname "team2-net" udp dport 67 accept
}
chain out.team2-net {
type filter hook output priority filter; policy accept;
oifname "team2-net" tcp sport 53 accept
oifname "team2-net" udp sport 53 accept
oifname "team2-net" icmp type { destination-unreachable, time-exceeded, parameter-problem } accept
oifname "team2-net" udp sport 67 accept
}
chain fwd.gameserver-net {
type filter hook forward priority filter; policy accept;
ip version 4 oifname "gameserver-net" accept
ip version 4 iifname "gameserver-net" accept
}
chain in.gameserver-net {
type filter hook input priority filter; policy accept;
iifname "gameserver-net" tcp dport 53 accept
iifname "gameserver-net" udp dport 53 accept
iifname "gameserver-net" icmp type { destination-unreachable, time-exceeded, parameter-problem } accept
iifname "gameserver-net" udp dport 67 accept
}
chain out.gameserver-net {
type filter hook output priority filter; policy accept;
oifname "gameserver-net" tcp sport 53 accept
oifname "gameserver-net" udp sport 53 accept
oifname "gameserver-net" icmp type { destination-unreachable, time-exceeded, parameter-problem } accept
oifname "gameserver-net" udp sport 67 accept
}
chain pstrt.incusbr0 {
type nat hook postrouting priority srcnat; policy accept;
ip saddr 10.59.16.0/24 ip daddr != 10.59.16.0/24 masquerade
ip6 saddr fd42:6942:e80d:44b5::/64 ip6 daddr != fd42:6942:e80d:44b5::/64 masquerade
}
chain fwd.incusbr0 {
type filter hook forward priority filter; policy accept;
ip version 4 oifname "incusbr0" accept
ip version 4 iifname "incusbr0" accept
ip6 version 6 oifname "incusbr0" accept
ip6 version 6 iifname "incusbr0" accept
}
chain in.incusbr0 {
type filter hook input priority filter; policy accept;
iifname "incusbr0" tcp dport 53 accept
iifname "incusbr0" udp dport 53 accept
iifname "incusbr0" icmp type { destination-unreachable, time-exceeded, parameter-problem } accept
iifname "incusbr0" udp dport 67 accept
iifname "incusbr0" icmpv6 type { destination-unreachable, packet-too-big, time-exceeded, parameter-problem, nd-router-solicit, nd-neighbor-solicit, nd-neighbor-advert, mld2-listener-report } accept
iifname "incusbr0" udp dport 547 accept
}
chain out.incusbr0 {
type filter hook output priority filter; policy accept;
oifname "incusbr0" tcp sport 53 accept
oifname "incusbr0" udp sport 53 accept
oifname "incusbr0" icmp type { destination-unreachable, time-exceeded, parameter-problem } accept
oifname "incusbr0" udp sport 67 accept
oifname "incusbr0" icmpv6 type { destination-unreachable, packet-too-big, time-exceeded, parameter-problem, echo-request, nd-router-advert, nd-neighbor-solicit, nd-neighbor-advert, mld2-listener-report } accept
oifname "incusbr0" udp sport 547 accept
}
}
root@roooter:~# firewall-cmd --get-active-zones
public (default)
interfaces: ens33
trusted
interfaces: mgmt-net team1-net team2-net gameserver-net