Manual Jail Setup Tutorial For Syncthing on FreeNAS 11.3

Commands used in Video:
iocage console SyncThingYouTube

pkg update

pkg install syncthing

sysrc syncthing_enable=YES

sysrc sshd_enable="YES"

cat /etc/rc.conf

vi /etc/ssh/sshd_config
PermitRootLogin yes

passwd root

iocage restart

ssh -L 8000: root@

1 Like

Curious, setting it up this way, does syncthing show up as a client in your Unifi Controller? It does in mine, as do all my other FreeNAS jails configured with DHCP.

Yes, since it has an IP address on the network, it will.

There seems to be something missing for windows. I have created an ssh tunnel through putty but chrome cant get into the jail page to allow me to change the parameters.
How do allow my browser to get through the tunnel?

I figured it out, same command in windows CMD terminal will pass the traffic.

Thanks @LTS_Tom for the Turorial

I install the manual synchthing jail on FreeNAS 11.3 and my Listeners are at 2/3 and it looks like @LTS_Tom jail in the video is the same.
When you hover over the 2/3 on Listeners i get x509: certificate signed by unknown authority]('
I was having a hard time remote devices decovering each other, here is how you update the certs

ssh in your jail

pkg update

pkg install curl


iocage restart

Probably a stupid question. But following the tutorial I just did my first install via SSH etc. so I,m a complete Noob (got stuck sometimes trying to figure out how to get out of vim and top for example to input the next commands). How do I now after the install upgrade Syncthing to the latest versions. I notice it’s on 1.4.0 and all my other systems are on 1.4.2 (web download is also 1.4.2 for FreeBSD).

Learning VIM is a great idea and will help you a lot with configruing Linux/BSD systems. Inside the jail you can run pkg upgrade which will update the system to the latest packages.

I know I am replying to and old post, but I am putting this out there just in case someone needs it. Whoever reads this please feel free to correct me if I am totally wrong as I would like to know what I did wrong and how to do things right. I installed it as per toms youtube video and noticed that the repo has an older version. I am having an issue with Syncthing so I wanted to see if updating the version fixes it. What i did to upgrade the version was to download the freebsd version of it from extract it on my windows PC even though you can run a few commands in freebsd to do the same. Once its extracted I connected to the jail using winscp and copied the newly extracted syncthing file to /usr/local/bin/. The syncthing file that you need to copy over is around 20 MB. Once I did that I restarted syncthing and I was now on the latest version.

Sometimes the Syncthing site will be newer than what is available in the repos so you have to download the update if you want the newest version.