computer_science:homelab:freenas:jails

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.

[TODO] Add Screenshots

jexec <jail_id> csh

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 with:

iocage export

Import with:

 iocage import
  • computer_science/homelab/freenas/jails.1613381866.txt.gz
  • Last modified: 2023/12/01 12:07
  • (external edit)