tailscale / tailscale-qpkg

Package Tailscale client in QPKG
MIT License
459 stars 38 forks source link

Include --advertise-exit-node #15

Closed mraczka closed 3 years ago

mraczka commented 3 years ago

Is there any way to use --advertise-exit-node flag? I've tried edit the startup script (v1.6) but it didn't work.

ivokub commented 3 years ago

Yes, there is. There is no need to change the startup script, as it handles the Tailscale daemon (tailscaled), but the network configuration is handled by the Tailscale client (tailscale).

In order to advertise as an exit node, run:

That is all. I can confirm that the option works and my QNAP routes the traffic well.

takotakot commented 1 year ago

The command may have been changed.

1.36.0
  tailscale commit: 96f6580381ac0c01122e77cff79f01baa678d6a4
  other commit: 49bd4454362e6e52fe8c86ad51b3734dd83d764c
  go version: go1.19.4-tsdc0ce6324d
./tailscale -socket /tmp/tailscale/tailscaled.sock up --advertise-exit-node --accept-routes

works for me.