Jail loses internet connection when enabling wireguard on host

cen

Dabbler
Joined
Jul 12, 2014
Messages
32
Followed this guide: https://www.truenas.com/docs/core/coretutorials/network/wireguard/

Works fine from host but jail (transmission) loses internet connection.

Code:
vnet0.3: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: associated with jail: transmission as nic: epair0b
        options=8<VLAN_MTU>
        ether d0:50:99:03:aa:46
        hwaddr 02:1c:2c:60:6b:0a
        inet 172.16.0.1 netmask 0xfffffffc broadcast 172.16.0.3
        groups: epair
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        nd6 options=9<PERFORMNUD,IFDISABLED>
wg0: flags=80c1<UP,RUNNING,NOARP,MULTICAST> metric 0 mtu 1320
        options=80000<LINKSTATE>
        inet 10.190.106.166 netmask 0xffffffff
        inet6 fd7d:76ee:e68f:a993:fb0:9f7d:ca3d:5b30 prefixlen 128
        groups: wg
        nd6 options=101<PERFORMNUD,NO_DAD>


Jail network config:
NAT: yes
VNAT: yes
Interface: vnet0:bridge0

I do not want to set up wireguard on each jail, I just want all jails to use the host VPN.
 
Top