Big Kudos for Matt who made on his own a Linux guide for OpenVPN.

Preface:

First, let’s get started by mentioning this guide is mostly for Ubuntu and Ubuntu-based distributions, the most popular one and Linux Mint is very similar. For those trying to install openvpn on distributions such as CentOS/Redhat, Fedora, etc, a lot of the syntax is *similar* to what’s being written now, and it can be found on Google. This is the Client side of OpenVPN we’re installing, not the Server part of it.

1) Use opening a terminal (keyboard shortcut: Ctrl + Alt + T, there’s also using the “Start Menu” or “Command Menu” and then typing “Terminal” and clicking on it to get to it, but Ctrl + Alt + T is the easiest/quickest. Some distributions of Linux can be quite user-friendly, and even have some similarities, the terminal is the Command Prompt for Windows ; but do not confuse them; they’re entirely different. Mac OSX has a terminal itself with similar commands to Linux—but again, do NOT confuse the them.. most commands are different.). It is recommended to keep the Linux terminal open for all steps, but you might need to open another to verify a few things.

2) Install OpenVPN client by entering sudo apt-get -y install openvpn and you’ll enter your Ubuntu Password—same goes for Linux Mint. .. both of those usually use the same thing.

3) Head back to the tigerVPN website. Go into Dashboard, click on the “Geeks” tab Remember: Your username, password—ALL VPN Credentials are stored on this part of the website. Now click on “Download” next to OpenVPN Configuration File under where it says “OpenVPN Configuration” – a file named “config-256bit.zip” will asked to be downloaded. Save it under the Downloads folder.. if you didn’t try to save it anywhere else, that’s the default folder for a file to be downloaded, and that’s where you should leave it.

4) Moving on, you will now need to extract/unzip config-256bit.zip in the terminal. To do that, type unzip config-256bit.zip -d ~/tiger (config-256bit.zip is the file name that just downloaded previously) Now you’ve extracted all OpenVPN files provided by TigerVPN into the “~/tiger” directory.

5) Now that you’ve extracted the OpenVPN files into the ~/tiger through the terminal, type cd ~/tiger/config to get to the folder with the extracted files to use for OpenVPN.

6) Make sure you are in the right directory through a terminal, simply enter "ls -la" command and it will print full configuration file list.

7) This first example will just be entering sudo openvpn --config “US - New York @tigervpn.com.ovpn” – Then just hit enter. This is just to get you familiar with your footing regarding the openvpn. This will be when your credentials will be asked for.

Warning: This is not just a step. For those running other Linux distros, type su or su - enter your password, and then you know you don’t need sudo because you’ll have root access. You need root access to run openvpn. Almost all of this guide is for Ubuntu, Linux Mint, and many other Debian-based and Ubuntu-based distributions. 100% of this can be applied to work with a few keystrokes. That being said.. if you’re using an Ubuntu or a Linux Mint distribution, then use the normal directions and use sudo – it gives you root access without needing to keep root access. Moving on:

8) Back to the guide: Now here comes a strong example: sudo openvpn --config US - New York @tigervpn.com.ovpn … Well, if you typed it out the whole thing: sudo openvpn --config US - New York @tigervpn.com.ovpn .. Yeah, that takes a lot and it can take awhile to type. It can even be annoying because you’ll just get an error that looks similar to this:

Options error: In [CMD-LINE]:1: Error opening configuration file: US
Use --help for more information.

This error occurs because you cannot use spaced file names in a Linux terminal without using quotes around them. Guess what, though? I’ve got good news for you. There’s a MUCH shorter way to do this AND you avoid this error! :) Just type sudo openvpn --config “ and press Tab; As you can see, you’ll see every single one you have been provided with.. so as a reminder, just use that and press tab so you know what to type next. See how this gets easier? You can use a single quote or a double quote. Both will work. Try sudo openvpn --config “US and then press Tab. As you can see, it narrows it down to just the US locations. You can technically keep typing one character at a time and pressing tab.. it’ll just keep giving you the information to type, in case you forget or if you don’t want to type the rest. Try just typing this: sudo openvpn --config “US - New York and then press Tab. It’ll finish the rest for you. Let’s try it in the next step.

9) Type sudo openvpn --config “US and then, of course, press Tab. (this is when you press tab a couple of times to make sure that it makes your choices shorter by typing one more thing each time; instead of sudo openvpn --config 'US [press tab] and seeing the same locations (from the US obviously—let’s use New York as an example), type sudo openvpn --config “US - New and press Tab. This method goes unknown by many new users and will get more until you get just exactly what you want and helps you type as little as you need for ANY location.

10) Try just typing out sudo openvpn --config 'US - New York and then pressing Tab. It’d be the same if you typed out sudo openvpn --config 'US - New York @tigervpn.com.ovpn’ and pressing Tab because then it shows up as the only selection as it is typed out completeley. At that point, all you have to do is press enter. With all of this, You’ll have the full listing(s), ability to reduce typing time/capacity, unlike this guide (sorry, I also try to teach with a guide to help people understand why things are different), and then all you’d need is to do press enter, type your sudo password (your Ubuntu/password, if it asks. It depends on how much time you spent in between browsing/working and actually using the guide. It’s hard for anyone with even an a normal attention span to keep up with this, including myself.) – last step is to enter your credentials for tigerVPN. Let’s also remember that your tigerVPN username and password are located at the Dashboard under “Geeks” on the tigerVPN website. Make sure you log in on to the website to retrieve your information!

11) After doing all of this, under Ubuntu Linux, Linux Mint, and others similar to it at least, run sudo openvpn --config 'US - New York @tigervpn.com.ovpn' either by typing it out or by pressing Tab to make it easier, press enter, type in your passwords and you should successfully connect to tigerVPN with OpenVPN!

12) To disconnect from the OpenVPN connection simply go back to your terminal and hold the Ctrl key down and press C (Usually known as Ctrl + C – You just hold the two keys at the same time. It basically means to close or and terminate a process). If that doesn’t work, just close the terminal and say yes if it asks if you’re sure. Just remember, you’ll need to redo this process again, but you get used to it, and using the tab method in the guide can really helps :) Hopefully the shortcuts with the Tab button will help. Also, a word of consideration, once you’ve connected, for the love of your VPN connection, don’t close the terminal window or the connection will definitely close.

Did this answer your question?