cloak { path = "/jail/main/jails/cloak"; vnet; vnet.interface += "host_link2"; vnet.interface += "wg_uplink0"; devfs_ruleset = 13; mount.devfs; # To expose tun device exec.start += "/bin/sh /etc/rc"; exec.stop = "/bin/sh /etc/rc.shutdown jail"; exec.consolelog = "/var/log/jail_${name}_console.log"; }