Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> At the end all of your jails end up on the same loopback interface, making it hard to firewall.

I suppose you didn't use vnet? It's a vastly better jail networking experience. You can pretend jails are separate machines, connected via ethernet. I don't think anyone who knows about vnet chooses not to use it!

> I couldn't find a way to have one network interface per jail.

I think vnet is what you want.

> nftables is way easier to grasp than pf, and as fast as pf, and has atomic reloads.

pfctl allows you to do atomic reloads. `pfctl -f`



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: