Set up the cloak jail to run wireguard.

This commit is contained in:
Tom Alexander
2022-10-29 21:29:00 -04:00
parent 464d873b31
commit 016ed08440
5 changed files with 19 additions and 3 deletions

View File

@@ -2,6 +2,8 @@ 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";