TrueNAS-12.0-U8.1 problems with tap interface

Jussi

Dabbler
Joined
Jul 1, 2016
Messages
24
I am trying to install OpenVPN in an Iocage jail using these intructions: https://www.truenas.com/community/resources/openvpn-in-tap-bridge-mode-in-iocage-jail.85/

Looks like handling tap interface in Iocage jail is somehow broken.

This is what happens:

Edit /etc/motd to change this login announcement. root@OpenVPN:~ # ifconfig lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6> inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> pflog0: flags=0<> metric 0 mtu 33160 groups: pflog epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=8<VLAN_MTU> ether 6a:05:ca:9b:c8:80 hwaddr 02:ad:40:66:86:0b inet 192.168.255.41 netmask 0xffffff00 broadcast 192.168.255.255 groups: epair media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>) status: active hwaddr 02:ad:40:66:86:0b inet 192.168.255.41 netmask 0xffffff00 broadcast 192.168.255.255 groups: epair media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>) status: active nd6 options=1<PERFORMNUD> root@OpenVPN:~ # ifconfig tap0 create ifconfig: interface tap0 already exists root@OpenVPN:~ # ifconfig tap up ifconfig: interface tap does not exist root@OpenVPN:~ #

Any help appreciated.
 
Last edited:

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Is there any reason you can't use the OpenVPN on the host, under Services?
 

Jussi

Dabbler
Joined
Jul 1, 2016
Messages
24
I could not get local name service working with the host services version.
Host services version of OpenVPN does not support Community version of the OpenVPN client, which is fully working for me.
 
Top