2022-12-03 01:11:50 +00:00
|
|
|
nat_dhcp {
|
2024-06-29 19:21:27 +00:00
|
|
|
path = "/jail/${name}";
|
2022-12-03 01:11:50 +00:00
|
|
|
vnet;
|
2023-04-25 22:33:19 +00:00
|
|
|
exec.prestart += "/usr/local/bin/jail_netgraph_bridge start jail_nat jail${name} 10.215.1.1/24";
|
|
|
|
exec.poststop += "/usr/local/bin/jail_netgraph_bridge stop jail_nat jail${name}";
|
|
|
|
vnet.interface += "jail${name}";
|
|
|
|
|
2022-12-03 01:11:50 +00:00
|
|
|
devfs_ruleset = 14;
|
2023-04-25 22:33:19 +00:00
|
|
|
mount.devfs;
|
2024-07-01 03:02:23 +00:00
|
|
|
mount.fstab = "/etc/fstab.${name}";
|
2022-12-03 01:11:50 +00:00
|
|
|
|
2024-07-01 03:02:23 +00:00
|
|
|
exec.start += "/bin/sh -c 'mkdir /var/run/kea && exec /bin/sh /etc/rc'";
|
2022-12-03 01:11:50 +00:00
|
|
|
exec.stop = "/bin/sh /etc/rc.shutdown jail";
|
|
|
|
exec.consolelog = "/var/log/jail_${name}_console.log";
|
|
|
|
}
|