Improve message on --accept-routes=False default

Introduces following aspects to the message:
- declare the current default as legacy
- without further research, a helpful command can be copy&pasted to regain the modern default
- link to an article of Tailscale declairing the differing defaults on Windows / Mac OS and Linux

Signed-off-by: Felix Stupp <me+github@banananet.work>
This commit is contained in:
Felix Stupp 2023-10-19 10:55:01 +00:00 committed by GitHub
parent 09b5bb3e55
commit 48d8fe02f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -8,7 +8,8 @@
package healthmsg
const (
WarnAcceptRoutesOff = "Some peers are advertising routes but --accept-routes is false"
// TODO change link to shortened one
WarnAcceptRoutesOff = "Some peers are advertising routes but --accept-routes is disabled (legacy default). To fix that, run tailscale set --accept-routes. For more info, see https://tailscale.com/kb/1019/subnets/#step-6-use-your-subnet-routes-from-other-machines"
TailscaleSSHOnBut = "Tailscale SSH enabled, but " // + ... something from caller
LockedOut = "this node is locked out; it will not have connectivity until it is signed. For more info, see https://tailscale.com/s/locked-out"
)