I can successfully run tailscaled in a jail (13.1) using the command
tailscaled --tun=userspace-networking
followed by tailscale up
. The tailscaled
command will not start without the --tun=userspace-networking
flag. What I want to do is write a script that will start tailscaled when the jail is started, passing the desired flag, and then issuing the tailscale up command. I've played around with trying my own thing as well as a couple of scripts that i've found google-ing, but no success. Anyone have any advice?