0
Issue in extracting vpn files to overwrite default config files

Hello,

Firstly, the vpn versions available on the computer centre website are for ubuntu 16.04 onwards. Will any of these versions wok for linux 9 which is the OS for my RDP laptop. Secondly, assuming that the oldest version available i.e. ubuntu16_xx_64bit_openvpn_client.tgz is suitable, I am not able to execute the first of the following commands:

sudo cd /etc/openvpn
sudo tar xzf "path_to_client_config_file"/xxx_yyy_openvpn_client.tgz

Where (XXX --> fedora/ubuntu)
(YYY --> 32bit/64bit)

The referred openvpn folder lies in etc sub-folder of root folder on my laptop. Please tell me how to access that i.e. what is the path that needs to be entered in the terminal.

Thanks!


Affordable-Laptop 22-07-20, 12:51 a.m. sumedha_mutika
0

Hi,

Goto https://www.cc.iitb.ac.in/page/configurevpn and scroll to 2) Old VPN Configuration for older version of operating systems >>>> VPN For LINUX Client section

 

1... Install openvpn sudo apt-get install openvpn

 

2... Download ubuntu16_xx_64bit_openvpn_client.tgz file. The file will be downloaded into the user's Downloads folder.
You can access a Downloaded file on the terminal using path /home/user/Downloads/ubuntu16_xx_64bit_openvpn_client.tgz(user is the name of the user you have login with to your system)
 

3... So as given in the cc website, open terminal and run the following commands

sudo cd /etc/openvpn
sudo tar xzf /home/user/Downloads/ubuntu16_xx_64bit_openvpn_client.tgz


4... after running above commands check all three files(iitbvpn.conf,client.up, client.down) are present in the /etc/openvpn folder using following command

sudo ls /etc/openvpn

5... if all three files are present in the /etc/openvpn run following command and enter your LDAP ID and password,

sudo service openvpn start


6... To check if your machine is connected to the OpenVPN server, please type 'ifconfig' and check if 'tap' interface is up or not.

23-07-20, 11:23 a.m. rohan

Hello,

Thank you for the detailed reply.

Now, I am encountering some more issues:

On giving the command sudo service openvpn start, I am prompted to give the password for user but not LDAP ID and password.

Also, on typing ipconfig, I get the following error: bash: ipconfig: command not found.

Thanks!


23-07-20, 7:22 p.m. sumedha_mutika

HI,

Please share the screenshot with output of following commands,

------------------------------------

sudo ls /etc/openvpn

sudo service openvpn start         

ifconfig

------------------------------------

Please type ifconfig command (ipconfig is windows command ) and check if 'tap' interface is up or not  

This is only for testing purpose.

You can use the browser to check you are connected to VPN or not try to access IITB local websites like https://asc.iitb.ac.in/ or http://drona.ircc.iitb.ac.in/ 


23-07-20, 7:32 p.m. rohan

I understand that it is for testing purposes. Actually, I wasn't prompted to enter my LDAP ID and password. If I am not mistaken, its not possible to be connected to IIT's intranet without that. Also, on typing ipconfig, I get the following error: bash: ipconfig: command not found.

 

 

 

 


23-07-20, 7:41 p.m. sumedha_mutika

Login to add comment


0

PFA the screenshot. I am sorry for having missed out the point about uploading the screenshot.

24-07-20, 7:55 p.m. sumedha_mutika

Hi, 

Please try to run below command and check it is working for you or not,

sudo systemctl start openvpn@iitbvpn.service


24-07-20, 8:32 p.m. rohan

Login to add comment


0
Hey, PFA the screenshot of the response to the above command.
25-07-20, 1:38 a.m. sumedha_mutika

Hi,

I am sorry, The above settings were working for older version LD laptop. I was not having the newer machine. 

Today, I have tested VPN settings on a new laptop by taking remote access to one of the new machine.

Please try the following steps,

Go to https://www.cc.iitb.ac.in/page/configurevpn and scroll to 2) Old VPN Configuration for older version of operating systems >>>> VPN For LINUX Client section

1... Download ubuntu17_10_64bit_openvpn_client.tgz file.
 

2...Run following commands
sudo cd /etc/openvpn
sudo tar xzf <path of file>/ubuntu17_10_64bit_openvpn_client.tgz


3... after running above commands check all three files(iitbvpn.conf,client.up, client.down) are present in the /etc/openvpn folder using following command

sudo ls /etc/openvpn

4... if all three files are present in the /etc/openvpn run following command and enter your LDAP ID and password,

sudo systemctl start openvpn@iitbvpn.service

6... To check if your machine is connected to the OpenVPN server, please type 'ip a l' and check if 'tap' interface is up or not.


25-07-20, 5:35 p.m. rohan

Hey,

Thanks a lot for the prompt response to all my queries. I am able to access IIT's intranet now.

 


25-07-20, 6:58 p.m. sumedha_mutika

Login to add comment


0
To unblock websites from anywhere, use the Ivacy VPN addon for Firefox. Today, use the best vpn extension for firefox to browse the web safely.
03-06-22, 5:40 p.m. andreasnielsen


0
The issue with extracting a VPN file to overwrite the default config files is that you are losing all of your settings. You will have to go through each and every one of them, change them, and then save them, or you can get Black Friday VPN to get rid of all these settings and to get a secure connection. This can be quite a time consuming and tedious to do, especially if you have a lot of devices or if you just need to change some settings on one device.
12-11-22, 10:59 a.m. XavierDorron


Log-in to answer to this question.