diff --git a/usr/local/share/bastille/network.sh b/usr/local/share/bastille/network.sh index 2132d9e3..2e62da65 100644 --- a/usr/local/share/bastille/network.sh +++ b/usr/local/share/bastille/network.sh @@ -423,6 +423,7 @@ EOF cat << EOF >> "${_jail_config}" ## ${_if} interface vnet.interface += ${_if}; + exec.prestop += "ifconfig ${_if} -vnet ${_jailname}"; } EOF # Add config to /etc/rc.conf