tutorial_en_openvpn
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tutorial_en_openvpn [2012/05/24 22:09] – mihaim | tutorial_en_openvpn [2014/10/14 08:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | < | + | ===== OpenVPN Tutorial ===== |
+ | Setting up a VPN (Virtual Private Network) tunnel/ | ||
- | < | + | To ensure proper setup, and avoid problems, the process has been outlined below. |
- | < | + | |
- | your computer to your Xirvik Seedbox server is a rather basic | + | |
- | procedure.< | + | |
- | It is also believed to be the best method available to maintain online | + | |
- | anonymity. < | + | |
- | If setup correctly the VPN will route all traffic through your seedbox, | + | |
- | making you invisible to the outside world.</ | + | |
- | <p>To ensure proper setup, and avoid problems, the process has been outlined below.</ | + | |
- | < | + | |
- | These are available from your main server page under the VPN section.< | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | We'll get back to it later.</ | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | + | ||
- | < | + | |
- | </ | + | |
- | + | ||
- | </ | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | Let's start by downloading an installer which contains the necessary | + | |
- | components to get the VPN running. < | + | |
- | We will be using the excellent, free, | + | |
- | open-source, | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | If you have 32bit Windows XP or prior it is recommended to get the stable release (currently 2.09).< | + | |
- | If you have Windows Vista, 7 or a 64bit processor, the beta series is the recommended choice.</ | + | |
- | < | + | |
- | <p>If one doesn' | + | |
- | Download the setup file.< | + | |
- | If you have Vista or 7, prior to installation you must right click the setup file and select < | + | |
- | Go the < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | Extract them to wherever you installed OpenVPN, in the < | + | |
- | </ | + | |
- | </ | + | |
- | See the example below. < | + | |
- | </ | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | dhcp-option DNS (Primary DNS)< | + | |
- | dhcp-option DNS (Secondary DNS)</ | + | |
- | < | + | |
- | If you're unsure about your DNS, you may use OpenDNS which is free and very good.< | + | |
- | Copy the code below exactly if you'd like to use OpenDNS. </ | + | |
- | < | + | |
- | < | + | |
- | dhcp-option DNS 208.67.222.222< | + | |
- | dhcp-option DNS 208.67.220.220</ | + | |
- | < | + | |
- | < | + | |
- | A shortcut should be on your desktop.</ | + | |
- | < | + | |
- | < | + | |
- | Look to the bottom right, and you should see a icon such as the one in the picture below..< | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | <p>To verify the connection, <a href="# | + | |
- | < | + | |
- | < | + | |
- | <p>In this tutorial we will be using the Linux Mint distribution, | + | |
- | Regardless of which linux distribution you have, installation should be similar. | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | If for whatever reason this method isn't working for you, refer <a href=" | + | |
- | < | + | |
- | If you placed them on your Desktop it would be something like this:</ | + | |
- | < | + | |
- | < | + | |
- | To do this insert the following code and then press enter.</ | + | |
- | < | + | |
- | <p>If done correctly all the files will inflate into < | + | |
- | Now we need to edit one of the files, < | + | |
- | Type the following code into the terminal. | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | First we need to make sure the configuration file is properly reaching the key and authentication files.< | + | |
- | Find the portion of the code that looks like the picture below, and change the < | + | |
- | </ | + | |
- | Use the picture above as an example.</ | + | |
- | <p>At the very end of the document/ | + | |
- | Don't forget to replace everything in parentheses with the proper information.</ | + | |
- | < | + | |
- | < | + | |
- | dhcp-option DNS (Primary DNS)< | + | |
- | dhcp-option DNS (Secondary DNS)</ | + | |
- | < | + | |
- | If you're unsure about your DNS, you may use OpenDNS which is free and very good.< | + | |
- | Copy the code below exactly if you'd like to use OpenDNS. </ | + | |
- | < | + | |
- | < | + | |
- | dhcp-option DNS 208.67.222.222< | + | |
- | dhcp-option DNS 208.67.220.220</ | + | |
- | < | + | |
- | < | + | |
- | In your terminal enter the following code.</ | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | To verify the connection, <a href="# | + | |
- | <p>To more quickly start the connection you can create an easy shell program.</ | + | |
- | <p>In terminal type the following code:</ | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | <p>To close the connection hit Ctrl + C or close the terminal box.</ | + | |
- | < | + | |
- | < | + | |
- | <p>If you have Mac OS X 10.4 or later, it is possible to get OpenVPN working. Thanks to TunnelBlick.</ | + | |
- | < | + | |
- | < | + | |
- | The configuration files have to go into / | + | |
- | For further information and support see <a href=" | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | Check the sign below, if your IP has changed and your ISP is being read as something like OVH Systems, then mission complete! < | + | |
- | You have successfully setup the VPN correctly and are </ | + | |
- | </ | + | |
- | Don't forget to refresh this page in your browser, and then check again.</ | + | |
- | That concludes the tutorial. < | + | |
- | You should now have no problems connecting through your VPN tunnel.< | + | |
- | < | + | |
- | Enjoy being anonymous! | + | |
- | < | + | |
+ | Before we begin we must get our server' | ||
+ | {{:: | ||
+ | Save the zip file anywhere, preferrably your desktop.\\ We'll get back to it later. | ||
- | </ | + | \\ |
+ | * **[[tutorial_en_openvpn# | ||
+ | * **[[tutorial_en_openvpn# | ||
+ | * **[[tutorial_en_openvpn# | ||
+ | * **[[tutorial_en_openvpn# | ||
- | | + | ==Setting Up VPN On Windows== |
+ | |||
+ | **(Section 1)** [[tutorial_en_openvpn#Table of Contents|(Table of Contents)]] | ||
+ | |||
+ | Let's start by downloading an installer which contains the necessary components to get the VPN running.\\ We will be using the excellent, free, open-source, | ||
+ | |||
+ | The installation file can be downloaded from [[http:// | ||
+ | |||
+ | You have 2 options available for download. It depends on your Operating System and processor type (64bit/x64 or 32bit/ | ||
+ | |||
+ | {{:: | ||
+ | |||
+ | If one doesn' | ||
+ | |||
+ | Download the setup file.\\ If you have Vista or 7, prior to installation you must right click the setup file and select **Properties**.\\ Go the Compatibility tab.\\ **Vista users**: Select **Run this program as an administrator**\\ **7 Users:** Select **Run this program as an administrator** and select the **Run this program in compatibility mode for** checkmark and choose Windows Vista.\\ {{:: | ||
+ | |||
+ | Now hit OK and begin the installation process by double clicking the file. | ||
+ | |||
+ | {{:: | ||
+ | |||
+ | After a successful installation, | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Open the file titled **xirvik_vpn.ovpn** with notepad or another text editor such as textpad.\\ See the example below.\\ | ||
+ | |||
+ | {{: | ||
+ | |||
+ | At the very end of the document/ | ||
+ | |||
+ | '' | ||
+ | |||
+ | ''# | ||
+ | |||
+ | Here is an example of the code, with real information.\\ If you're unsure about your DNS, you may use OpenDNS which is free and very good.\\ Copy the code below exactly if you'd like to use OpenDNS. | ||
+ | |||
+ | **'' | ||
+ | |||
+ | **''# | ||
+ | |||
+ | Once finished entering the information, | ||
+ | |||
+ | Now let's try it out by opening the **OpenVPN GUI**.\\ A shortcut should be on your desktop. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Right click it and select **Connect** or simply double click the icon**.** | ||
+ | |||
+ | The OpenVPN client will now try to connect to your VPN server.\\ | ||
+ | |||
+ | {{:: | ||
+ | |||
+ | Once connected the icon in your taskbar will turn green.{{: | ||
+ | |||
+ | To verify the connection, [[# | ||
+ | |||
+ | \\ ==Setting Up VPN on Linux== | ||
+ | |||
+ | **(Section 2)** [[tutorial_en_openvpn#Table of Contents|(Table of Contents)]] | ||
+ | |||
+ | In this tutorial we will be using the Linux Mint distribution, | ||
+ | |||
+ | First let's open up our Terminal from the menu. | ||
+ | |||
+ | Enter in the following code: | ||
+ | |||
+ | '' | ||
+ | |||
+ | When asked if you'd like to continue type **Y** then press **Enter**. | ||
+ | |||
+ | This will automatically download and install the necessary files from the proper repository.\\ If for whatever reason this method isn't working for you, refer [[http:// | ||
+ | |||
+ | Once completed navigate to the folder you placed the certficate files we downloaded in the first step.\\ If you placed them on your Desktop it would be something like this: | ||
+ | |||
+ | '' | ||
+ | |||
+ | Now we're going to Unzip the key files with downloaded in the first step to the proper directory.\\ To do this insert the following code and then press enter. | ||
+ | |||
+ | '' | ||
+ | |||
+ | If done correctly all the files will inflate into / | ||
+ | |||
+ | Now we need to edit one of the files, **xirvik_vpn.ovpn**.\\ Type the following code into the terminal. | ||
+ | |||
+ | '' | ||
+ | |||
+ | The text editor should open up.\\ First we need to make sure the configuration file is properly reaching the key and authentication files.\\ Find the portion of the code that looks like the picture below, and change the **ca, cert,** and **key** locations to / | ||
+ | |||
+ | {{: | ||
+ | |||
+ | At the very end of the document/ | ||
+ | |||
+ | '' | ||
+ | |||
+ | ''# | ||
+ | |||
+ | Here is an example of the code, with real information.\\ If you're unsure about your DNS, you may use OpenDNS which is free and very good.\\ Copy the code below exactly if you'd like to use OpenDNS. | ||
+ | |||
+ | **'' | ||
+ | |||
+ | **''# | ||
+ | |||
+ | Once finished entering the information, | ||
+ | |||
+ | Now let's give it a shot.\\ In your terminal enter the following code. | ||
+ | |||
+ | '' | ||
+ | |||
+ | Hit **Enter**, and it should start connecting.\\ | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Thats what a proper connection should look like once completed.\\ To verify the connection, [[# | ||
+ | |||
+ | To more quickly start the connection you can create an easy shell program. | ||
+ | |||
+ | In terminal type the following code: | ||
+ | |||
+ | '' | ||
+ | |||
+ | This will create a new file called vpn.sh. When you want to connect open your terminal and type the following code to connect: | ||
+ | |||
+ | '' | ||
+ | |||
+ | To close the connection hit Ctrl + C or close the terminal box. | ||
+ | |||
+ | \\ ==Setting Up VPN on Mac OS X== | ||
+ | |||
+ | **(Section 3)** [[tutorial_en_openvpn# | ||
+ | |||
+ | If you have Mac OS X 10.4 or later, it is possible to get OpenVPN working. Thanks to TunnelBlick. | ||
+ | |||
+ | Download the latest version of TunnelBlick from [[http:// | ||
+ | |||
+ | Installation is the same as other Mac applications, | ||
+ | |||
+ | ==Testing The Connection== | ||
+ | |||
+ | To verify that you are successfully connected..\\ | ||
+ | |||
+ | {{:: | ||
+ | |||
+ | That concludes the tutorial.\\ You should now have no problems connecting through your VPN tunnel.\\ \\ Enjoy being anonymous! |
tutorial_en_openvpn.1337897373.txt.gz · Last modified: 2014/10/14 08:28 (external edit)