This is an old revision of the document!
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.
- Install Transmission
pkg install transmission
- Add the following lines to /etc/rc.conf with:
vi /etc/rc.conf
transmission_enable="YES" transmission_watch_dir="/srv/torrents/autoload" transmission_download_dir="/srv/torrents/data"
- Add authentication to the Transmission Settings with
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.*",
- Start the Daemon with
service transmission start
- Access the WebUI via
<JAIL_IP>:9091
- You can stop the service with:
/usr/local/etc/rc.d/transmission stop
Export / Import Jails
Export with:
iocage export
Import with:
iocage import