bsdpot / pot

pot: another container framework for FreeBSD, based on jails, ZFS and pf
BSD 3-Clause "New" or "Revised" License
333 stars 31 forks source link

start: Add support for pf hook script #273

Closed grembo closed 11 months ago

grembo commented 11 months ago

By setting POT_EXPORT_PORTS_PF_RULES_HOOK, the user has fine grained control over how pf rules are setup.

This also skips creating netcat pipes.

Example scripts making use of this will come in the future.

grembo commented 11 months ago

@pizzamig This comes without an example or much documentation yet. It's what we've been using successfully for quite some time now and I thought upstreaming it, even though not immediately useful, might be a good thing at this point.