TUN-7065: Revert Ingress Rule check for named tunnel configurations

Named Tunnels can exist without Ingress rules (They would default to
8080). Moreover, having this check also prevents warp tunnels from
starting since they do not need ingress rules.
This commit is contained in:
Sudarsan Reddy 2023-02-01 10:08:10 +00:00
parent c24f275981
commit b8e610a067
1 changed files with 0 additions and 3 deletions

View File

@ -258,9 +258,6 @@ func prepareTunnelConfig(
return nil, nil, err
}
}
if ingressRules.IsEmpty() {
return nil, nil, ingress.ErrNoIngressRules
}
protocolSelector, err := connection.NewProtocolSelector(transportProtocol, cfg.WarpRouting.Enabled, namedTunnel, protocolFetcher, supervisor.ResolveTTL, log, c.Bool("post-quantum"))
if err != nil {