Revert "ruleset: dispatch ct states using verdict map"
[project/firewall4.git] / tests / 06_includes / 01_nft_includes
index 275f9eea83f84cf995db4580df5915b13cac271d..314a428099c9326034341b7c1960bbde24b25cd2 100644 (file)
@@ -156,7 +156,7 @@ table inet fw4 {
 
                iifname "lo" accept comment "!fw4: Accept traffic from loopback"
 
-               ct state vmap { established : accept, related : accept } comment "!fw4: Handle inbound flows"
+               ct state established,related accept comment "!fw4: Allow inbound established and related flows"
                iifname "eth0" jump input_test comment "!fw4: Handle test IPv4/IPv6 input traffic"
        }
 
@@ -164,7 +164,7 @@ table inet fw4 {
                type filter hook forward priority filter; policy drop;
 
                include "/usr/share/nftables.d/include-chain-start-forward.nft"
-               ct state vmap { established : accept, related : accept } comment "!fw4: Handle forwarded flows"
+               ct state established,related accept comment "!fw4: Allow forwarded established and related flows"
                iifname "eth0" jump forward_test comment "!fw4: Handle test IPv4/IPv6 forward traffic"
                include "/usr/share/nftables.d/include-chain-end-forward.nft"
        }
@@ -174,7 +174,7 @@ table inet fw4 {
 
                oifname "lo" accept comment "!fw4: Accept traffic towards loopback"
 
-               ct state vmap { established : accept, related : accept } comment "!fw4: Handle outbound flows"
+               ct state established,related accept comment "!fw4: Allow outbound established and related flows"
                oifname "eth0" jump output_test comment "!fw4: Handle test IPv4/IPv6 output traffic"
        }