Skip to content

Commit

Permalink
fix typo in nftables default ruleset
Browse files Browse the repository at this point in the history
  • Loading branch information
djessich authored Jul 31, 2023
1 parent 91bb653 commit 539244b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/helpers_nftables.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def default_ruleset(new_resource)
'add table inet filter' => 1,
"add chain inet filter INPUT { type filter hook input priority 0 ; policy #{new_resource.input_policy}; }" => 2,
"add chain inet filter OUTPUT { type filter hook output priority 0 ; policy #{new_resource.output_policy}; }" => 2,
"add chain inet filter FOWARD { type filter hook forward priority 0 ; policy #{new_resource.forward_policy}; }" => 2,
"add chain inet filter FORWARD { type filter hook forward priority 0 ; policy #{new_resource.forward_policy}; }" => 2,
}
if new_resource.table_ip_nat
rules['add table ip nat'] = 1
Expand Down

0 comments on commit 539244b

Please sign in to comment.