Losing it with setting up pf on a jail/bhyve host
Hey all, I have a FreeBSD 15 host with a few bhyve VM's and a handful of jails with vnet (of course). So I figured, let's set up a pf firewall for those on the host. One big firewall instead of all those scattered little firewalls per vm/jail.
Well that's not that easy apparently.. I can't filter on interface.. and even on IP it sometimes doesn't do a thing and another time it blocks too much.
I tried plowing through the documentation but it doesn't really explain using it on a host with jails or bhyve vm's and it's hard to find proper examples.. plenty of them don't even use vnet so those configs simply don't work.
Does anyone have an example that I can start with that I can adjust to my own situation and build onto that? Just so have an example to start from..
It's a home lab so nothing to fall back on. Still would like it firewalled though