How can we help you?


Configuring Linux Ubuntu setup (Standard User)

These are the instructions to connect non-administrative account (newuser in this example) to VPN using Linux. The instructions were made using Ubuntu 16.04 LTS and connecting to US #311 server using UDP protocol. Before following these instructions, please make sure at least 1-7 steps of our Linux tutorial has already been completed.

1. Login to your admin account:


2. Create a new file and name it or however you prefer. For the sake of convenience we will create the file in ~/Documents/ folder;


3. Open the file and enter these two lines:

sudo openvpn /etc/openvpn/ovpn_udp/

Save and close the file;

4. Open Terminal (Ctrl + Alt + T) and run sudovisudo command. Afterwards, you will be prompted your administrator password, please enter it.


It will open the /etc/sudoers.tmp file as shown below.


5. Using arrow keys navigate to the #Members of the admin group may gain root privileges and below the %admin ALL=(ALL) ALL entry type these three lines:

newuser ALL=NOPASSWD: /home/blue_mountain/Documents/
newuser ALL=NOPASSWD: /usr/sbin/openvpn
newuser ALL=NOPASSWD: /etc/openvpn/ovpn_udp/


6. Press Ctrl + X to close the file. Shortly afterwards you will be asked to press Y in order to save changes you have made. You will be required to press Enter to complete the changes;

7. Access your standard user account:


8. Open Terminal (Ctrl + Alt + T) and run cd /home/blue_mountain/Documents command:


9. Now you can use sh command to use the previously created script to connect to VPN, though you will be required to enter your NordVPN credentials;


10. Wait for the VPN connection to be established. It is indicated by the Initialization Sequence Completed message.


Was this article helpful?