ipn: set RouteAll=true by default for new accounts on iOS and Android (#16110)

fixes tailscale/tailscale#16082

RouteAll should be true by default on iOS and Android.

Signed-off-by: Jonathan Nobels <jonathan@tailscale.com>
pull/16120/head
Jonathan Nobels 6 months ago committed by GitHub
parent 4b59f1dfe6
commit 842df37803
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -721,9 +721,10 @@ func (p *Prefs) ControlURLOrDefault() string {
// of the platform it's running on.
func (p *Prefs) DefaultRouteAll(goos string) bool {
switch goos {
case "windows":
case "windows", "android", "ios":
return true
case "darwin":
// Only true for macAppStore and macsys, false for darwin tailscaled.
return version.IsSandboxedMacOS()
default:
return false

Loading…
Cancel
Save