spotsnel / cockpit-headscale

Headscale management application for Cockpit
GNU Lesser General Public License v2.1
35 stars 1 forks source link

Routes #13

Open gbraad opened 1 year ago

gbraad commented 1 year ago
gbraad commented 1 year ago

The command

$ tailscale up --advertise-exit-node

will create two routes:

$ headscale routes list
...
1  | [nodename] | 0.0.0.0/0 | true       | false   | -
2  | [nodename] | ::/0      | true       | false   | -

that need to be enabled:

$ headscale routes enable -r 1
$ headscale routes enable -r 2

to allow use as exit node:

$ tailscale set --exit-node [nodename]