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:
-
3:06:01
TimcastIRL
5 hours agoGOP Declares Biden Pardons VOID Over Autopen, DOJ Announces Investigation | Timcast IRL
231K165 -
2:51:22
Laura Loomer
5 hours agoEP153: DEPORT MAMDANI!
29.9K39 -
1:03:39
Flyover Conservatives
1 day agoAre ‘Aliens’ Really Demons? The Coming Digital ID System - Dr. Stella Immanuel; Frequencies of Control - Leigh Dundas | FOC Show
33.5K7 -
LIVE
Drew Hernandez
20 hours agoINCOMING: IMMINENT EBT APOCALYPSE IS UPON US?!
671 watching -
25:47
Robbi On The Record
2 days ago $6.38 earnedExposing the OnlyFans Industry (Agency Edition)
36K12 -
12:15:31
Dr Disrespect
16 hours ago🔴LIVE - DR DISRESPECT - BATTLEFIELD 6 - REDSEC LAUNCH - BATTLE ROYALE
199K24 -
38:15
Scammer Payback
10 hours agoThe People's Call Center 2025
27.8K6 -
50:10
Sarah Westall
5 hours agoARPA-H and the Weaponized Architecture for Total Dominance & Surveillance w/ Alix Mayer
33.1K7 -
LIVE
SpartakusLIVE
16 hours agoREDSEC BATTLE ROYALE || Battlefield 6 w/ The Boys
304 watching -
DVR
DLDAfterDark
5 hours agoDLD Live! The Return of Red Dawn - Glock "V" Talk - Sighting In Your Optics & Sights
11K2