Merge pull request #560 from chriswells0/pf-config

Make pf table name and external interface configurable.
This commit is contained in:
Christer Edwards
2022-12-13 20:54:33 -07:00
committed by GitHub
5 changed files with 13 additions and 8 deletions
+2 -2
View File
@@ -83,8 +83,8 @@ for _jail in ${JAILS}; do
error_notify "Error: IP address (${ip}) already in use."
continue
fi
## add ip4.addr to firewall table:jails
pfctl -q -t jails -T add "${ip}"
## add ip4.addr to firewall table
pfctl -q -t "${bastille_network_pf_table}" -T add "${ip}"
fi
## start the container