Table of Contents

Jails on FreeNAS

Part of my HomeLab and FreeNAS.

Jails runs FreeBSD, so if you are familiar with the OS you shouldn't have much issues using it.

Create a Jail on FreeNAS

[TODO] Add Screenshots

Connect to the Jail with

jexec <jail_id> csh

Installing Software on Jails

Note: I will be using Transmissionbt for this example.

pkg install transmission
vi /etc/rc.conf
transmission_enable="YES"
transmission_watch_dir="/srv/torrents/autoload"
transmission_download_dir="/srv/torrents/data"
vi /usr/local/etc/transmission/home/settings.json
"rpc-authentication-required": true,
"rpc-username": "admin",
"rpc-password": "password",
"rpc-whitelist": "127.0.0.1,192.168.1.*",
service transmission start
<JAIL_IP>:9091
/usr/local/etc/rc.d/transmission stop

Export / Import Jails

Export with:

iocage export

Import with:

 iocage import