cmd/tailscale: warn if app-connector is enabled without ip forwarding

Fixes: ENG-2446
Signed-off-by: Tom DNetto <tom@tailscale.com>
pull/10232/head
Tom DNetto 7 months ago committed by Tom
parent 1825d2337b
commit 90a0aafdca

@ -442,7 +442,7 @@ func runUp(ctx context.Context, cmd string, args []string, upArgs upArgsT) (retE
fatalf("%s", err)
}
if len(prefs.AdvertiseRoutes) > 0 {
if len(prefs.AdvertiseRoutes) > 0 || prefs.AppConnector.Advertise {
// TODO(jwhited): compress CheckIPForwarding and CheckUDPGROForwarding
// into a single HTTP req.
if err := localClient.CheckIPForwarding(ctx); err != nil {

Loading…
Cancel
Save