Re: pf for netgraph jails?

Marek Zarychta <[email protected]>
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]>
W dniu 16.10.2024 o 16:19, Palle Girgensohn pisze:
> Hi!
>
> Using FreeBSD-14.1, I have a rather simple setup with jails using 
> netgraph (using the `/usr/share/examples/jails/jng` script and "model").
> (...)
> I assume I'm doing some simple mistake here, but find very little 
> information wrt the combo of netgraph, pf and jails. Any tips? I tried 
> configuring pf to work  on the bridge interface but no difference. 
> What am I missing here?

Hello Pale,

I am afraid that you won't be able to easily pair PF(4) with 
Netgraph(3), but  there are are probably at least two solutions you can 
deploy: ng_ipfw(4) and ng_bpf(4).

Please also take a look at simple but very promising and innovative rc.d 
script proposed by Ivan Rozhuk[1].

1. https://reviews.freebsd.org/D30175


-- 
Marek Zarychta
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.