Tailscale message exit node allow lan access can only be used with exit node

July 26, 2022 tailscale exit-node [code]

If you’re resetting the exit node to the local machine and you get an error message like this:

“–exit-node-allow-lan-access can only be used with –exit-node”

It seems tailscale wants the lan access needs to be disabled. Try the argument “–exit-node-allow-lan-access=false”:

tailscale up –accept-risk=lose-ssh –advertise-exit-node –ssh –exit-node-allow-lan-access=false –exit-node=

This worked for me.