hotfix(firewall): prefer using iptables-legacy over nf_tables

- due to nf_tables bugs I discovered and reported
This commit is contained in:
Quentin McGaw
2024-05-09 14:33:34 +00:00
parent ef6874fe57
commit ce642a6d8b

View File

@@ -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
}