Premium Only Content

How I Run FreeBSD Jails
Here is a quick rundown of how I run FreeBSD jails.
Something I should have mentioned was the pf rules for forwarding traffic from the jail out to the internet. This would go in the /etc/pf.conf file:
NET_JAIL="192.168.100.0/24"
...
nat on $ext_if from $NET_JAIL to any -> ($ext_if:0)
# This assumes $ext_if is setup in the pf.conf file as well.
Here are the commands to get setup:
# setup lo1 on startup
sysrc cloned_interfaces+="lo1"
# setup zfs datasets
zfs create -o mountpoint=/usr/jails zroot/jails
zfs create zroot/jails/basejail
# install a base system
bsdinstall jail /usr/jails/basejail
# snapshot and clone
zfs snapshot zroot/jails/basejail@start
zfs clone zroot/jails/basejail@start zroot/jails/newjail
Jail configuration example:
newjail {
host.hostname = "newjail";
mount.devfs;
exec.clean;
exec.start = "/bin/sh /etc/rc";
exec.stop = "/bin/sh /etc/rc.shutdown jail";
path = "/usr/jails/newjail";
ip4.addr = "lo1|192.168.100.100/24";
}
For custom hosting and development:
-
LIVE
Winston Marshall
46 minutes agoExposing The EU’s Plot To Destroy Free Speech in America | Mike Benz
393 watching -
19:05
Sponsored By Jesus Podcast
2 days agoI Lost the World But Gained My SOUL | Freedom in Christian Suffering
1.14K3 -
14:47
Dr. Nick Zyrowski
15 days agoFasting Is THE Cure - NO FOOD FOR 3 DAYS Completely Heals You!
1.35K7 -
UPCOMING
Badlands Media
10 hours agoGeopolitics with Ghost Ep. 42
5.87K -
2:01:33
Right Side Broadcasting Network
2 hours agoLIVE REPLAY: President Trump Makes an Announcement - 9/30/25
86K25 -
1:56:03
MattMorseTV
3 hours ago $8.19 earned🔴Trump's Oval Office DECLARATION.🔴
43.3K27 -
LIVE
Simply Bitcoin
2 hours ago $0.52 earnedIs $1.6B about to HIT Bitcoin TODAY?! (FTX SAGA ALMOST OVER!) | EP 1343
177 watching -
LIVE
SternAmerican
1 day agoPrecinct Strategy Briefing – Tuesday, September 30 at 1:00 PM EST - Steve Stern & Dan Schultz
90 watching -
LIVE
Rebel News
1 hour agoTruth & Reconciliation Day, Poilievre on anti-Christian hate, No new immigration | Rebel Roundup
349 watching -
LIVE
TheAlecLaceShow
1 hour agoHegseth Calls Out FAT Generals | Schumer Shutdown | Charlie Kirk Conspiracy’s | The Alec Lace Show
101 watching