tun device

  1. 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...
  2. 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...
  3. 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...
  4. 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