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
LFA TV
15 hours agoLIVE & BREAKING NEWS! | TUESDAY 10/28/25
3,236 watching -
LIVE
The Mel K Show
1 hour agoMORNINGS WITH MEL K -Restoring National Sovereignty After Decades of Global Deception - 10-28-25
464 watching -
LIVE
The Shannon Joy Show
1 hour agoSJ Show 10/28 - Idiocracy 2025! Are Candace Owens & Nick Fuentes Government Agent Provocateurs? Because The Political Soap Opera Is Getting Kinda Stupid
125 watching -
LIVE
Grant Stinchfield
44 minutes agoBillions for Nothing: New Study Reveals Widespread Fraud and Ghost Enrollments in Obamacare
87 watching -
1:00:58
VINCE
3 hours agoBiden Is Back: "Democracy Is At Stake" (w/ Michael Knowles)| Episode 156 - 10/28/25
136K99 -
LIVE
Dr Disrespect
3 hours ago🔴LIVE - DR DISRESPECT - BATTLEFIELD 6 - REDSEC LAUNCH - BATTLE ROYALE
1,606 watching -
1:27:53
Graham Allen
3 hours agoINSANE Libs Are Dressing As Dead Charlie For Halloween… + His Killer Getting Special Treatment??
102K49 -
2:00:58
Badlands Media
9 hours agoBadlands Daily: October 28, 2025
29K9 -
51:06
House Republicans
2 hours agoHouse Republicans Leadership Stakeout
6.57K1 -
1:15:01
Benny Johnson
2 hours ago🚨New Biden BOMBSHELL Criminal Evidence Released LIVE Right Now | All Pardons 'Void' | DOJ Ready...
19.1K25