Why I use CLI? right now I don’t have physical access to the laptop, so I have to access my windows machine remotely through SSH + TailScale. I have OpenSSH server installed from MSYS2 package manager.
I have route all traffic from my windows machine to the exit node using this command:
./tailscale.exe up --exit-node=<ip-addr> --exit-node-allow-lan-access
it works without any error, however… when I tried several way to disconnect from exit node I always get an error:
# ./tailscale.exe up --exit-node=
Error: changing settings via 'tailscale up' requires mentioning all
non-default flags. To proceed, either re-run your command with --reset or
use the command below to explicitly mention the current value of
all non-default settings:
tailscale up --exit-node= --exit-node-allow-lan-access
# ./tailscale.exe up --exit-node= --exit-node-allow-lan-access
--exit-node-allow-lan-access can only be used with --exit-node
# ./tailscale.exe up --exit-node --exit-node-allow-lan-access
invalid value "--exit-node-allow-lan-access" for --exit-node; must be IP or unique node name
EDIT 1:
the command: ./tailscale.exe up --reset --exit-node=
not returning any error, but how to verify if I fully quit from the exit node?
EDIT 2:
alright, as a work around, I have verify that the machine have been fully quit from exit node by testing whether the github site are still accessible or not (it’s blocked by the network administrator or ISP, not sure which one. and I only able to access it from exit node)
but I think there’s more appropriate and proper way to validate and verify the state from command-line