Can I set up SABNZBD behind a VPN?

Status
Not open for further replies.

geopfarth

Explorer
Joined
Apr 14, 2017
Messages
96
I currently have a download drone (Windows machine) that attaches to a VPN service. I would like to move that function over to my NAS server when I am done building it out, but I am unclear as to whether that is possible. Anyone out there done this?
 

colmconn

Contributor
Joined
Jul 28, 2015
Messages
174
Yes it can be done. I found that the best way to do so was to create a VM and install freebsd 11 in it. You then need to create an NFS share for your media folders on the NAS host and export to the VM and mount it in the VM. In doing so you need to ensure that user IDs are conserved on the host and VM to minimize permissions problems. That is if the media folders are owned by, for example, 1001/1001 (UID/GID) on the NAS host the VM should have corresponding IDs. You can use the feature on the host NFS share configuration to force all writing on the host side to be done as a specific UID/GID to further ensure that everything is owned by the same UID/GID on the host and VM. This further minimized the possibility of permissions problems.

Once you've done that, you can then install sab, sonarr, radarr, etc in the VM.

Then you can install and configure openvpn to connect to your VPN provider. The trickiest part was configuring firewalls to ensure that if the VPN interface goes down nothing pass through
 

geopfarth

Explorer
Joined
Apr 14, 2017
Messages
96
Yes it can be done. I found that the best way to do so was to create a VM and install freebsd 11 in it. You then need to create an NFS share for your media folders on the NAS host and export to the VM and mount it in the VM. In doing so you need to ensure that user IDs are conserved on the host and VM to minimize permissions problems. That is if the media folders are owned by, for example, 1001/1001 (UID/GID) on the NAS host the VM should have corresponding IDs. You can use the feature on the host NFS share configuration to force all writing on the host side to be done as a specific UID/GID to further ensure that everything is owned by the same UID/GID on the host and VM. This further minimized the possibility of permissions problems.

Once you've done that, you can then install sab, sonarr, radarr, etc in the VM.

Then you can install and configure openvpn to connect to your VPN provider. The trickiest part was configuring firewalls to ensure that if the VPN interface goes down nothing pass through
Thanks, I'll have to get back to you on that. I am thinking I am in way over my head on this. I can't even figure out how to correctly set up the network interfaces......and I am a network engineer. THe systems side of networking is a nightmare.
 
Status
Not open for further replies.
Top