hotfix(firewall): support iptables-legacy for older kernels

This commit is contained in:
Quentin McGaw
2024-05-02 16:54:29 +00:00
parent 6dd27e53d4
commit fb145d68a0
3 changed files with 3 additions and 3 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", "iptables-nft")
iptables, err := checkIptablesSupport(ctx, runner, "iptables", "iptables-nft", "iptables-legacy")
if err != nil {
return nil, err
}