Tailscale on a FreeBSD jail

Hi all,

Tailscale has no official support on FreeBSD but there is a port here.
I am having trouble installing it in a jail. It installs and runs perfectly fine on a virtual machine running FreeBSD 12.2-RELEASE but not inside a jail.

After installing the pkg in a jail and running:

service tailscaled enable
service tailscaled start
tailscale up

It results in:

can’t fetch status from tailscaled: Get “http://local-tailscaled.sock/localapi/v0/status”: dial unix /var/run/tailscale/tailscaled.sock: connect: no such file or directory

I assume the issue has to do with what little permissions jails have as opposed to the host OS. If anyone can offer any guidance, I would greatly appreciate it. Thank you!

Hi

I’ve got the same problem :slight_smile:

Did you find the solution?

Georg

Tailscale recently added FreeBSD jail support, though I haven’t tried it myself yet.

Ran across this issue earlier today. Needed to add

"allow_tun": 1,

to my iocage’s config.json for the jail.

1 Like