benjaminjsanders
Cadet
- Joined
- May 30, 2019
- Messages
- 7
What I want seems straightforward, but I've been working on it for weeks with no success. I want my FreeNAS server to run plex, sabnbz, nbzhydra2, sonarr, and a movie downloading service yet to be decided. I want all my devices on my local network to be able to access any of these services. I don't want anyone or anything to ever be able to access this server from outside my local network. I want all internet communication from this server to be routed through my paid VPN. It seems like this would be the most vanilla home server setup imaginable, but I can't get it to work for the life of me.
I've been working with technology since I was practically a kid, several decades now. I can code in a dozen languages, configure LANs, all the basic stuff. I have not, however, devoted years of my life specifically to Linux, iocage, freenas, or the other software involved. That means you may as well treat me like a noob. An instruction to just configure my XYZ service to use QHU plugin with LHG support won't mean a thing to me. I need 'type in this specific command'.
I have FreeNAS 11.2-U3 installed. I have added a raid array and configured permissions. I installed the Plex plugin, configured the permissions for it, and am able to stream my media library from it. I am able to ping google from my FreeNAS terminal and my Plex terminal. Before I install the rest of the plugins, I want to ensure that all communications between this server and the internet go through my VPN. That's where I'm stuck and don't seem to be able to move forward.
I have been through a dozen guides for setting up OpenVPN. They invariably require me to use the pkg command, which always fails. From the FreeNAS terminal running any pkg command, such as:
gives me a list of errors that various files don't exist. From inside my Plex jail I am slightly more successful. pkg update seems to work, and says that everything is up-to-date. However, when I try to install something such as
I am told that there are no packages available for install matching 'nano', or any other package I try to install.
Some threads have hinted at the problem, saying that I am not allowed to install packages in the base FreeNAS install or in any jail that comes from a plugin. Some of those suggest setting up my jails manually, without information on how that would work or how to achieve it. Other guides suggest creating a dedicated jail for OpenVPN, but don't say how I would configure everything else to only connect to the internet through that jail.
Any help is appreciated. It seems like this use case should be a standard out-of-the-box configuration, but it has taken painstaking effort to take every step in the process. At this point, if a forum post can't get this sorted, I'll be forced to abandon FreeNAS entirely and look for another solution. Thanks and regards,
Ben
I've been working with technology since I was practically a kid, several decades now. I can code in a dozen languages, configure LANs, all the basic stuff. I have not, however, devoted years of my life specifically to Linux, iocage, freenas, or the other software involved. That means you may as well treat me like a noob. An instruction to just configure my XYZ service to use QHU plugin with LHG support won't mean a thing to me. I need 'type in this specific command'.
I have FreeNAS 11.2-U3 installed. I have added a raid array and configured permissions. I installed the Plex plugin, configured the permissions for it, and am able to stream my media library from it. I am able to ping google from my FreeNAS terminal and my Plex terminal. Before I install the rest of the plugins, I want to ensure that all communications between this server and the internet go through my VPN. That's where I'm stuck and don't seem to be able to move forward.
I have been through a dozen guides for setting up OpenVPN. They invariably require me to use the pkg command, which always fails. From the FreeNAS terminal running any pkg command, such as:
Code:
pkg update
gives me a list of errors that various files don't exist. From inside my Plex jail I am slightly more successful. pkg update seems to work, and says that everything is up-to-date. However, when I try to install something such as
Code:
pkg install nano
I am told that there are no packages available for install matching 'nano', or any other package I try to install.
Some threads have hinted at the problem, saying that I am not allowed to install packages in the base FreeNAS install or in any jail that comes from a plugin. Some of those suggest setting up my jails manually, without information on how that would work or how to achieve it. Other guides suggest creating a dedicated jail for OpenVPN, but don't say how I would configure everything else to only connect to the internet through that jail.
Any help is appreciated. It seems like this use case should be a standard out-of-the-box configuration, but it has taken painstaking effort to take every step in the process. At this point, if a forum post can't get this sorted, I'll be forced to abandon FreeNAS entirely and look for another solution. Thanks and regards,
Ben