Make pf table name and external interface configurable.

Closes #508
This commit is contained in:
Chris Wells
2022-11-26 23:24:33 -05:00
parent 0ee17be875
commit dd7f195c1e
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