Skip to content

Commit b8e610a

Browse files
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.
1 parent c24f275 commit b8e610a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cmd/cloudflared/tunnel/configuration.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,6 @@ func prepareTunnelConfig(
258258
return nil, nil, err
259259
}
260260
}
261-
if ingressRules.IsEmpty() {
262-
return nil, nil, ingress.ErrNoIngressRules
263-
}
264261

265262
protocolSelector, err := connection.NewProtocolSelector(transportProtocol, cfg.WarpRouting.Enabled, namedTunnel, protocolFetcher, supervisor.ResolveTTL, log, c.Bool("post-quantum"))
266263
if err != nil {

0 commit comments

Comments
 (0)