Set up the cloak jail to run wireguard.
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user