That’s probably a better bet than this blog post. It doesn’t appear in their Download page, but if you look at the script they provide under the Linux section it caters to these two BSDs. Tailscale now has support for OpenBSD and FreeBSD. Today I realized that’s coz this blog post seems to be the top result when searching for these words. Update (12th Dec 2022): Now and then I keep getting questions on TailScale and OpenBSD. The script has been revised a few times with the last change made on 29th Oct 2020. Update: Someone kindly logged a bug report for -cleanup not working.įurther Update: I modified the blog post with a revised script and also added more explanations to the rc script as I tweaked it a bit. The default rc_start() function is the following: "$ – i.e. I could have added an & after logger -t tailscaled manually, but using rc_bg=YES is the recommended way. I added rc_bg=YES to force starting the daemon in the background coz I noticed the system startup would pause a few seconds when starting up tailscaled. The rc_start() function will run tailscaled and send its logs to /var/log/messages (thanks to this article for the idea). The rc script has three functions: rc_start(), rc_stop() and rc_check(). Initially I had put in some more info above but decided to move it to a separate section here. If you reboot, tailscaled automatically connects to your Tailscale network. And now you can start it via doas rcctl start tailscaled and also do a tailscale up to register your device as usual.
0 Comments
Leave a Reply. |