ruleset: dispatch ct states using verdict map
[project/firewall4.git] / tests / 03_rules / 02_enabled
index c5ef8c6544476e9551419730ca58298220dbea7f..ae2f424ca935939d4a8f6b8f34d4f13c1af5c9cd 100644 (file)
@@ -68,13 +68,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 {
@@ -82,7 +82,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"
                counter comment "!fw4: Implicitly enabled"
                counter comment "!fw4: Explicitly enabled"
        }