engineering:computer_science:homelab:freenas:jails

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
  • engineering/computer_science/homelab/freenas/jails.txt
  • Last modified: 2024/08/16 13:56
  • by carlossousa