Setting up VPN Client on EX2100?

Am setting up my new nas and wondering if anyone knows of a paid vpn service that supports installing the client software on the nas box?

I am not talking about setting up the nas as a vpn server for remote access, but as a client for a company such as Private Internet Access or ExpressVPN.  So I could run the client on nas to route traffic through their encrypted server.  So instead of starting up the client program on my computer then surfing the web or downloading with all my computer traffic encrypted it could be done solely on the nas.

If anyone has any suggestions on where to look I would sure appreciate it.  Thank you.

Ok, am definite novice.  I found what I think I’m looking for, only it deals with another brand of NAS altogether.  Here is what I found if anyone can tell me if it’s safe to follow this walkthrough, or what portions I need to alter to work with my NAS instead of the one spoken about.  Thank you.


I have been trying to install OpenVPN and use PrivateInternetAccess (PIA) as my VPN Server on my ReadyNAS for a while now - my prime usecase was that I wanted all the connection to be encrypted while exposing it to external world (like sharing files right out of my NAS or torrent). The following are the steps which worked for me and my NAS is always on VPN now.

  1. Enable SSH by going into System -> Settings in your WebView
    PS: This may cause problem with Netgear support - so do @ your own risk. However, I am not modifying anything with system and it looks safe to me.
  2. Download Putty from link below

  1. Go to command prompt, navigate to the directory where you placed putty. Once in the directory, execute the following command


  1. You will see a terminal window open up asking for your login. enter your login info that you use to access your NAS from webbrowser
  2. Now enter the following command on the terminal prompt

apt-get install openvpn

  1. This will install OpenVPN. Now, you need to get the VPN config files from PIA. Use the following commands below to navigate the OpenVPN directory and get the files

cd /etc/openvpn

  1. Extract the files using unzip command. If you dont have the program, use apt-get command as above (replace openvpn with unzip)


  1. Now, create a file - say userpass.file and type username on first line and password on the second line and save it. To save a file, press Esc and type :wq (including the colon) and press enter

vi userpass.file

  1. Chose one of the .ovpn file - for this eg, I chose France.ovpn and edit it. When you open it using the vi command, there will be a line auth-user-pass. Change it to auth-user-pass userpass.file and save the file as mentioned above.

vi France.ovpn

  1. at this time, you are all set to create a VPN connection. However, the issue is that now you need to always activate it manually. So, now we will create a startup file which runs automatically everytime you boot your NAS. Use the following commands to create a new file called - you can name whatever you want

cd /etc/init.d

  1. Now type the following lines and save the file

cd /etc/openvpn
openvpn France.ovpn

  1. Once saved, you need to make the script executable. Use the command below for the same

chmod +x

  1. Now, you need to add this script to run at everyboot. To do so, you need to add the following command in crontab file. Open the crontab file using command

crontab -e

and then add the following line anywhere in the file

@reboot ./etc/init.d/ &

. Save it using the Esc -> :wq!
13a. You can also use the following command to add this command to startup

update-rc.d defaults

  1. Now you need to see if the VPN has started. To do so, type ifconfig on the command line and you will see a new connection starting with a config similar to below

tun0-00 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00

This means your vpn is running perfectly and you added another layer of security.


Hey there, welcome to the community.

Maybe the EX2100 and the ReadyNas are running different version of Linux, and could mean that the steps listed on the post might not work, however I am not an Linux expert and might be wrong. And I have never owned or played with a ReadyNas

Doesn’t your router know VPN ?