ruleset: dispatch ct states using verdict map
[project/firewall4.git] / tests / 03_rules / 12_mark
index 67e2a0c30f3c18ac391eb8a1f9baec4fc3347fb9..1d095cf86a0f9bea31d74ec4f8276a76eed62b66 100644 (file)
@@ -98,13 +98,13 @@ table inet fw4 {
 
                iifname "lo" accept comment "!fw4: Accept traffic from loopback"
 
-               ct state established,related accept comment "!fw4: Allow inbound established and related flows"
+               ct state vmap { established : accept, related : accept } comment "!fw4: Handle inbound flows"
        }
 
        chain forward {
                type filter hook forward priority filter; policy drop;
 
-               ct state established,related accept comment "!fw4: Allow forwarded established and related flows"
+               ct state vmap { established : accept, related : accept } comment "!fw4: Handle forwarded flows"
        }
 
        chain output {
@@ -112,7 +112,7 @@ table inet fw4 {
 
                oifname "lo" accept comment "!fw4: Accept traffic towards loopback"
 
-               ct state established,related accept comment "!fw4: Allow outbound established and related flows"
+               ct state vmap { established : accept, related : accept } comment "!fw4: Handle outbound flows"
        }
 
        chain prerouting {