e76e0zgfht
Cadet
- Joined
- Aug 15, 2021
- Messages
- 2
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 VM running FreeBSD 12.2-RELEASE but not inside a jail on Truenas 12.0.
After installing the pkg in a jail and running:
It results in:
I'm assuming it fails because jails are less permissive by default than the host OS. I have no clue which
So far, I tried using the following set of
I also tried checking for any logs in
If anyone can offer any guidance, I would greatly appreciate it. Thank you!
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 VM running FreeBSD 12.2-RELEASE but not inside a jail on Truenas 12.0.
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'm assuming it fails because jails are less permissive by default than the host OS. I have no clue which
/etc/devfs.rules
I should enable to get it to work. So far, I tried using the following set of
/etc/devfs.rules
that I found here, which explains how to install Wireguard in a jail. I thought that since Tailscale uses Wireguard, it might work but it didn't:Code:
[devfsrules_jail=5] add include $devfsrules_hide_all add include $devfsrules_unhide_basic add include $devfsrules_unhide_login add path 'tun*' unhide add path 'bpf*' unhide add path zfs unhide
I also tried checking for any logs in
/var/log
inside the jail, but they're mostly empty.If anyone can offer any guidance, I would greatly appreciate it. Thank you!