tun device

  1. spmzt

    ocserv in jail: cannot open /dev/tun

    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...
  2. thecodechemist

    Wireguard in iocage jail: Failed to create TUN device: open /dev/tun: no such file or directory

    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...
  3. D

    jails Jail cannot access /dev/tun

    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...
  4. L

    setfib not working with tun interfaces?

    Hello, I've a 12.0 STABLE kernel compiled with: options IPFIREWALL options IPFIREWALL_DEFAULT_TO_ACCEPT options IPFIREWALL_VERBOSE options IPDIVERT options DUMMYNET options HZ=1000 and: root@freebsd:~ # cat /boot/loader.conf net.fibs=2 My network configuration: root@freebsd:~ # ifconfig hn0...
  5. T

    Tunneling IPv6 over IPv6

    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...
  6. B

    Openconnect periodicaly DOWN.

    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