On an Ubuntu 18.04.5 LTS I have tailscale installed from the package repository (this is the sources.list)
deb https://pkgs.tailscale.com/stable/ubuntu eoan main
and I tried to add the flag --advertise-exit-node
but it complains that it’s not a valid option:
Mar 18 06:55:21 microserver tailscaled[29405]: flag provided but not defined: -advertise-exit-node
Mar 18 06:55:21 microserver tailscaled[29405]: Usage of /usr/sbin/tailscaled:
Mar 18 06:55:21 microserver tailscaled[29405]: -cleanup
Mar 18 06:55:21 microserver tailscaled[29405]: clean up system state and exit
Mar 18 06:55:21 microserver tailscaled[29405]: -debug string
Mar 18 06:55:21 microserver tailscaled[29405]: listen address ([ip]:port) of optional debug server
Mar 18 06:55:21 microserver tailscaled[29405]: -port value
Mar 18 06:55:21 microserver tailscaled[29405]: UDP port to listen on for WireGuard and peer-to-peer traffic; 0 means automatically select (default 0)
Mar 18 06:55:21 microserver tailscaled[29405]: -socket string
Mar 18 06:55:21 microserver tailscaled[29405]: path of the service unix socket (default "/var/run/tailscale/tailscaled.sock")
Mar 18 06:55:21 microserver tailscaled[29405]: -socks5-server string
Mar 18 06:55:21 microserver tailscaled[29405]: optional [ip]:port to run a SOCK5 server (e.g. "localhost:1080")
Mar 18 06:55:21 microserver tailscaled[29405]: -state string
Mar 18 06:55:21 microserver tailscaled[29405]: path of state file (default "/var/lib/tailscale/tailscaled.state")
Mar 18 06:55:21 microserver tailscaled[29405]: -tun string
Mar 18 06:55:21 microserver tailscaled[29405]: tunnel interface name; use "userspace-networking" (beta) to not use TUN (default "tailscale0")
Mar 18 06:55:21 microserver tailscaled[29405]: -verbose int
Mar 18 06:55:21 microserver tailscaled[29405]: log verbosity level; 0 is default, 1 or higher are increasingly verbose
Mar 18 06:55:21 microserver tailscaled[29405]: -version
Mar 18 06:55:21 microserver tailscaled[29405]: print version information and exit
Mar 18 06:55:21 microserver systemd[1]: tailscaled.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Double checking from the command line it looks like I’m running 1.6:
$ /usr/sbin/tailscaled --version
1.6.0
tailscale commit: ddc975fcb268a06dc39923ec5db93f1c95b8cfc4
other commit: 995460c32665f1dab78c78512386235d275cf074
go version: go1.16.2-ts3b83fb3
I was following the instructions on Exit Nodes - Tailscale about how I should enable exit node functionality, but it doesn’t seem to be working.