feat(firewall): prefer using iptables nft instead of legacy

This commit is contained in:
Quentin McGaw
2024-07-28 14:29:00 +00:00
parent 9807d5f8f5
commit ddbfdc9f14
2 changed files with 2 additions and 2 deletions

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-legacy", "iptables", "iptables-nft")
iptables, err := checkIptablesSupport(ctx, runner, "iptables", "iptables-nft")
if err != nil {
return nil, err
}