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 1 year 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) fatalf("%s", err)
} }
if len(prefs.AdvertiseRoutes) > 0 { if len(prefs.AdvertiseRoutes) > 0 || prefs.AppConnector.Advertise {
// TODO(jwhited): compress CheckIPForwarding and CheckUDPGROForwarding // TODO(jwhited): compress CheckIPForwarding and CheckUDPGROForwarding
// into a single HTTP req. // into a single HTTP req.
if err := localClient.CheckIPForwarding(ctx); err != nil { if err := localClient.CheckIPForwarding(ctx); err != nil {

Loading…
Cancel
Save