Hi,
I installed net/ocserv 1.1.3 on Freebsd 13.1 in jail. and I can create tun interface inside the jail.
The problem is the net/ocserv try to access the /dev/tun inside my jail and it obviously fails.
Here is my configuration:
/etc/devfs.conf:
[devfsrules_jail_overlay=5]
add include...
Hi,
I'm having issues with running wireguard in an iocage jail on FreeBSD 13.0-RELEASE-p10.
The weird thing is, I also had issues with this on my TrueNAS Core system (12.2-RELEASE-p15), but after enabling the allow_tun option for the jail it now runs just fine there.
Here's some config data...
Hello,
I am trying to install a wireguard VPN in a jail but am having some trouble with the jail playing with TUN devices.
When I try to create the wireguard interface I get the following error:
root@vpn2:~ # wireguard-go wg0
INFO: (wg0) 2020/10/20 17:10:56 Starting wireguard-go version...
In IPv4 land I can do something like this:
ifconfig tun0 create
ifconfig tun0 a.b.c.d e.f.g.h
ifconfig tun0 alias i.j.k.l e.f.g.h
ifconfig tun0 up
However in IPv6 land I get stuck:
ifconfig tun0 inet6 A:B:C:D::E F:G:H::I prefixlen /128
ifconfig tun0 inet6 alias J:K:L::M F:G:H::I prefixlen...
When I using Openconnect periodicaly tun device change state to DOWN.
Jan 17 19:05:06 host kernel: ifa_maintain_loopback_route: deletion failed for interface tun0: 48
Jan 17 19:05:06 host kernel: tun0: link state changed to DOWN
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.