How to setup VPN on ubuntu

Posted By : Deepak Gupta | 11-Apr-2014

How to setup VPN on ubuntu

 

Hi Guys ,Here I am going to tell you how to set VPN connection in ubuntu OS Step for setup VPN on Ubuntu is below:-

1. Here is the link for the Vpn setup on ubuntu or linux base OS https://www.vpnuk.info/setup-linux-openvpn.html first of all download the config file for the VPN and then extract to safe location

2. Now make a text file on any you want or it would better if you make text file in the same config folder After that in the text file entr your userid and password like this ded14190 uv75z5y0 now save it

3. In the conf folder there is a file with name udp.ovpn Open this file It would be like this

client
fast-io
dev tun
proto udp
 
nobind
remote (your ip or wesite url here ) 
route-method exe
route-delay 2
resolv-retry infinite
 
persist-key
persist-tun
 
auth-user-pass (give location of text file user and password goes here)
ca vpnuk-ca.crt
tls-auth ta.key 1
 
comp-lzo
verb 3

make the changes in the bracet only not in other

 

4. open the cmd write command sudo apt-get install network-manager network-manager-openvpn

5. The click to network manager icon on desktop fo ubuntu Then VPN connection >configure connection> Add> Then click on create button Give vpn connection name as you want file gateway with Ip address click on Type select box and select password Now give username and password and then give click on browse folder then select file (udp.ovpn) in conf folder Now click on advance setting then click use LGO data compression checkbox close this Now select your custom VPN connection name that you gave now yor are connected with VPN For checking that you are connected or not go to site (what is my ip) then you will see that you are in another location according to IP that you give in the conf file

Thanks Deepak Gupta

About Author

Author Image
Deepak Gupta

Deepak is a bright Groovy and Grails developer

Request for Proposal

Name is required

Comment is required

Sending message..