Skip to content

Commit

Permalink
hotfix(firewall): prefer using iptables-legacy over nf_tables
Browse files Browse the repository at this point in the history
- due to nf_tables bugs I discovered and reported
  • Loading branch information
qdm12 committed May 9, 2024
1 parent ef6874f commit ce642a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/firewall/firewall.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ type Config struct { //nolint:maligned
func NewConfig(ctx context.Context, logger Logger,
runner command.Runner, defaultRoutes []routing.DefaultRoute,
localNetworks []routing.LocalNetwork) (config *Config, err error) {
iptables, err := checkIptablesSupport(ctx, runner, "iptables", "iptables-nft", "iptables-legacy")
iptables, err := checkIptablesSupport(ctx, runner, "iptables-legacy", "iptables", "iptables-nft")
if err != nil {
return nil, err
}
Expand Down

0 comments on commit ce642a6

Please sign in to comment.