diff --git a/internal/firewall/ip6tables.go b/internal/firewall/ip6tables.go index 613225b4a..e0095c025 100644 --- a/internal/firewall/ip6tables.go +++ b/internal/firewall/ip6tables.go @@ -15,7 +15,7 @@ import ( // empty string path is returned. func findIP6tablesSupported(ctx context.Context, runner command.Runner) ( ip6tablesPath string, err error) { - ip6tablesPath, err = checkIptablesSupport(ctx, runner, "ip6tables", "ip6tables-nft", "ip6tables-legacy") + ip6tablesPath, err = checkIptablesSupport(ctx, runner, "ip6tables-legacy", "ip6tables", "ip6tables-nft") if errors.Is(err, ErrIPTablesNotSupported) { return "", nil } else if err != nil {