

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


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.


PFA the screenshot. I am sorry for having missed out the point about uploading the screenshot.
Hi,
Please try to run below command and check it is working for you or not,
sudo systemctl start openvpn@iitbvpn.service
Login to add comment


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.
Hey,
Thanks a lot for the prompt response to all my queries. I am able to access IIT's intranet now.
Login to add comment




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