-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to (remember to) reload /etc/pf.conf when (re)starting a jail #761
Comments
I'm using prestart/poststart hooks with combination of anchors to add and remove this per jail basis. |
Would you mind sharing how, exactly? |
So first of all some related pf.conf configuration. I'm using a separate lo1 interface to handle all the traffic.
Might be that some lines are missing but I hope you get the idea of how to dynamically handle this. Poststart hook
Prestop hook
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I declare my jails with
ip4_addr=vnet0|dhcp
, where thednsmasq
on the host provides IP addresses.My
pf.conf
uses names rather than IPs, and looks like this:so i'd need to reload it every time a jail (re)starts,
pf
needs to be reloaded.What's the best way to do this?
The text was updated successfully, but these errors were encountered: