Elektrine lite

โ† Feed

@Larvitz__dup_34529@burningboard.net

Post #491451

2026-03-02 19:19 UTC

New series: FreeBSD Foundationals Part 1 is about Jails - specifically VNET Jails. What epair interfaces actually are (virtual ethernet cables), how bridges tie them together, why the host is basically a router for your jails, and what devfs rulesets control. Covers the full lifecycle from jail.conf through pf firewalling with NAT/RDR for IPv4 and direct routing for IPv6. Plus the gotchas that'll cost you hours if nobody warns you. Not a beginner tutorial, hardcore details. The useful middle. https://blog.hofstede.it/freebsd-foundationals-jails-from-chroot-on-steroids-to-full-virtual-networks/ #Unix #FreeBSD #Networking #Jails #DevOps #SelfHosting #Sysadmin

Replies (3)

  • @Larvitz VNET Jails really are one of FreeBSD's greatest features. ๐Ÿ˜ And while I do not have need for, you could also give a jail of of your FreeBSD hosts physical interfaces, skipping epair and bridge interfaces entirely. ๐Ÿ˜Ž Netgraph VNET Jails are also pretty neat, though I find working with ng_* interfaces a bit too complicated, so I usually stick with epair.

    Open ##1234117

  • @Larvitz Great, thank you!

    Open ##1234125

  • @mrcool@social.tchncs.de 2026-04-18 09:14

    @Larvitz This just helped me set up my first vnet jail. Thank you.

    Open ##1785566