Pages

Sunday, April 1, 2018

Setting OpenVPN di debian Jessie

Setting OpenVPN di debian Jessie


Setting OpenVPN di debian Jessie


PART 1: Get A Free OpenVPN Account
Please skip this part if you already have a VPN server set up.
1. Open up your web browser or just click the link to go to www.vpnbook.com.
2. Scroll down and click on the tab that says OpenVPN (as the picture shown below). Download one of the certificate bundles and also remember the username and password.
Download OpenVPN Account
3. Decompress the downloaded package. Create 3 new empty text files in the result folder and called them: ca.crtcertificate.crtkey.key.
openvpn key files
4. Open up one of the .ovpn files (All of the .ovpn files are the same, but with different configurations.) with gedit text editor, here I use vpnbook-us1-tcp443.ovpn as example.
5. In the .ovpn file, do following copy and paste things and finally save the changes.
Copy everything between tags and paste into ca.crt file.
Copy everything between tags and paste into certificate.crt file.
Copy everything between tags and paste into key.key file.
copy-keys
PART 2: Setup OpenVPN connection:
1. Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, run the command below to install VPN plugin for network manager:
sudo apt-get install network-manager-openvpn-gnome
2. Go to system area network icon -> VPN Connections -> Configure VPN:
Configure VPN in Ubuntu 14.04
3. Click the Add button in next window and choose OpenVPN in drop-down menu as the connection type.
Add OpenVPN in Ubuntu 14.04
4. Now in VPN editing window, type in:
Connection name: type a name as you want
Gateway: the IP address in the vpnbook-us1-tcp443.ovpn file.
Type: Password with Certificates (TLS)
Username: see the picture under PART 1 -> step 2.
Password: see the picture under PART 1 -> step 2.
User Certificate: choose the certificate.crt file.
CA Certificate: choose the ca.crt file.
Private Certificate: choose the key.key file.
Private Key Password: leave it empty.
vpn-settings
5. NOTE: Advanced settings depend on the .ovpn file you selected in PART 1 (step 4), find the ip, port, cipher and so forth at the top of .ovpn file
Click the Advanced button. Check the boxes which say:
Use custom gateway port: 443
Use LZO data compression
Use a TCP connection
Under Security tab, set Cipher to AES-128-CBC
6. When everything is done, connect to the VPN from network menu:
connect-to-openvpn
You�re connected to the VPN if you see this message:
openvpn-connected


Enjoy!

http://ubuntuhandbook.org/index.php/2014/05/establish-openvpn-connection-ubuntu-1404/


visit link download

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.