Support Center

Manual VPN Setup for Ubuntu

Jump to:


Ubuntu OpenVPN Terminal Setup

 
  1. Install OpenVPN by opening a terminal and typing: sudo apt-get install openvpn
  2. Remove the conflicting startup links (may not be needed): sudo update-rc.d -f openvpn remove
  3. Download the config files to an empty directory ex. /home/UNS from https://usenetserver.com/vpn/software/uns_configs.zip
  4. Open a terminal session and go to the directory that the config files are located. (If you downloaded the zip file, you must first extract the config files. You can do this by typing the command 'unzip uns_configs.zip' without the quotes)
  5. Launch* the OpenVPN client with the specified config file ex.: sudo openvpn --config SERVERNAME.ovpn
From this point forward, you need only use the last command (step 5) to launch OpenVPN and connect. The terminal window will remain open - closing it will terminate the OpenVPN connection. You can also terminate the OpenVPN connection by pressing Ctrl-C (preferred).
 

Ubuntu OpenVPN Network Manager Setup

 
  1. From the login screen (display manager) choose an administrator-enabled account and login to your main desktop. Point your mouse to the 'Dash home' icon in the Unity launcher - click and move to the next step.
  2. Type 'terminal' in the resulting dashboard - if the letters are not appearing, point your mouse to the text area, and click to focus. Then type 'terminal' - once the result appears, either hit the 'Enter' key on your keyboard, or click the 'Terminal' icon from the results.
  3. In the resulting window, a new shell has been spawned, now waiting for further input. Move to the next step.
  4. Confirm that the terminal window is in focus, and enter the following command: 

    cd Documents/ 

    Press the 'Enter' key, and continue to the next step.
  5. Again, confirm the terminal window is in focus, and enter the following command: 

    wget http://www.usenetserver.com/vpn/software/configs/nyc-a01.ovpn

    Please copy this command EXACTLY as seen here - In our example, we are configuring a connection to the nyc-a01.com server, however should you wish to use a different server, point your web browser to http://www.usenetserver.com/vpn/software/configs/ locate the server of your choosing, and copy the link to your clipboard. Modify the command above to include the URL to your chosen config file, like so: 'wget http://www.usenetserver.com/vpn/software/configs/ams-a01.ovpn' for Amsterdam. Hit the 'Enter' key, and continue to the next step.
  6. The OpenVPN software and Network Manager snap-in are required to utilize an OpenVPN tunnel. Install both of these by entering the following command into the prompt: 

    sudo apt-get install network-manager-openvpn 

    Hit the 'Enter' key, and continue to the next step.
  7. Authenticate with your password in the resulting prompt to confirm administrator-level access to the previous command. Hit the 'Enter' key, and continue to the next step.
  8. The Debian package manager 'apt-get' will resolve all dependencies to the previously selected software packages, and will present you with a confirmation screen as shown in the example below. Type the 'Y' (for yes) button, and hit the 'Enter' key, then continue to the next step.
  9. Watch for any error messages in the resulting output, and report them to our support team for further assistance. Once the prompt appears, the terminal may be closed; then move to the next step.
  10. Find the 'Network Manager' icon from the indicator area of your main panel - it's in the upper-right corner, to the left of the 'Sound' indicator: two arrows pointing in opposing directions. Click this icon and hover your mouse over the 'VPN Connections >' item. In the resulting menu, click the 'Configure VPN...' item and move to the next step.
  11. When the network connections dialog window appears, click the “Add” button.
  12. In the next window that appears, click on the dropdown menu and select “Import a saved VPN configuration” and click the “Create” button.
  13. Navigate to the 'Documents' folder, where the two files downloaded earlier are located - double-click the 'Documents' item within the file tree, and move to the next step.
  14. From the 'Documents' folder, select the OpenVPN configuration file downloaded earlier in the guide - in the example, we are selecting the 'nyc-a01.ovpn' item. If an alternate server was selected previously, substitute the correct filename when making a selection. Once the configuration file has been chosen, click the 'Open' button in the bottom-right corner.
  15. In the following window, the previously selected OpenVPN config file will have been imported into the Network Manager as an unsaved session. Confirm the server address in the 'Gateway' field, and confirm that the “Authentication” fields have your UsenetServer username with @usenetserver at the end (ex. username@usenetserver).
  16. Once you've entered all required details, and confirmed existing details, the 'Save...' option will un-gray. Click the 'Save' button, and move to the next step.
  17. Back in the 'Network Connections' window, you should see the newly created UsenetServer OpenVPN session listed in the main selection area of this window. Close the window using the “Close” button in the bottom-right corner and move to the next step.
  18. As before, find the 'Network Manager' icon from the indicator area of your main panel - it's in the upper-right corner, to the left of the 'Sound' indicator: two arrows pointing in opposing directions. Click this icon and hover your mouse over the 'VPN Connections >' item. Then select the 'nyc-a01' (if you chose a different server, this item will be different) item to open the tunnel. Move on to the next step.
  19. Even if you opted to save your password in the previous configuration menu, upon first connection, you may be prompted for your password. Enter your UsenetServer password, and click the 'OK' button, then move to the next step. You won't be prompted for your password again.
  20. After the tunnel has initialized, you will see a few notification windows appear in the corner of the screen, indicating any errors or issues along the way. When a successful connection is established you will see a successfully connected message - at this point, you may now browse the Internet free from the prying eyes of your ISP. If your IP address doesn't change, or you see any error messages, copy those down and contact our support team for further assistance.
 

Ubuntu PPTP Setup

 
  1. Point your cursor to the 'Network Manager Indicator' icon, located in the 'Notification Area' on the default desktop panel, in the upper-right corner. Click this icon, and mouse over the 'VPN Connections' item - click the 'Configure VPN...' item in the expanded menu to continue.
  2. When the network connections dialog window appears, click the “Add” button.
  3. In the next window that appears, click on the dropdown menu and select “Point to point tunneling protocol (PPTP)” and click the “Create” button.
  4. Confirm that the 'VPN' tab is active in the current panel. Fill in a descriptive title for the new connection in the 'Connection name:' field at the top. Under the 'General' category, fill in the 'Gateway:' field with the UsenetServer hostname you've selected from our server list. Below, look for the 'Optional' category, and enter your login credentials in the corresponding fields, if you prefer not to enter them manually at each login. Our authentication servers are case-sensitive, so take care when entering both your username and password. Enter your UsenetServer username with @usenetserver at the end (ex. username@usenetserver). The 'NT Domain' field below should not be filled in. Next, look for the 'Advanced...' button near the bottom-right side of the panel, and click.
  5. Under the 'Security and Compression' label, tick the checkbox labeled 'Use Point-to-Point encryption (MPEE)'. Next, scroll through the frame labeled 'Authentication', and confirm that ONLY the MSCHAP and MSCHAPv2 boxes are ticked. Finally, click the 'OK' button in the bottom-right corner of the panel to continue.
  6. To commit the settings, first hit the 'Save' button in the bottom-right corner of this panel. Move your cursor back to the 'Network Connections' panel that was opened earlier, and hit the 'Close' button located at the bottom-right corner to continue.
  7. Click on the 'Network Manager Indicator' icon, located in the 'Notification Area', and then navigate to the 'VPN Connections' as preformed in the first step. Now, in the expanded menu, you should see an additional item, labeled as the 'Connection name:' defined in step three. You may click this item to initialize the connection. If you declined to save your full credentials, you will soon see a dialog prompting you to enter your username and password. Remember that our authentication servers are case-sensitive, and enter your UsenetServer username with @usenetserver at the end (ex. username@usenetserver) and password to continue. Look in the upper-right corner of your screen for any error notifications that may appear as you connect.
  8. You will see a message that the VPN has established a connection upon successfully connecting to the VPN. If any other message is shown, feel free to contact our support team for further assistance; otherwise you can now have peace of mind that your online experience is secured and private.
 

Did you find this article helpful?