cloak { path = "/jail/main/jails/cloak"; vnet; vnet.interface += "nat_link2"; 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"; }