Bash Command to Start Tailscale Using an Exit Node but Still with LAN Access

The “LAN access” part is extremely useful because you usually don’t want to lose SSH access through LAN to the target machine you’d like to manage.

Below is the correct way to direct outbound traffic from the target machine through the exit node while maintaining LAN access is below:


sudo tailscale up --exit-node=XXX.XXX.XXX.XXX --exit-node-allow-lan-access=true

And you should, first of all, use sudo tailscale up to list all exit nodes available in the VPN network.

 


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *