Tuesday, April 30, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 2932  / 3 Years ago, mon, august 23, 2021, 1:40:22

My institute has an internal network that can be accessed via a VPN server. It s turned on with a modprobe tun followed by a service openvpn start (which asks for remote authentication)



I need OpenVPN as I wish to ssh to a computing server in the institute network. However, due to certain restrictions, accessing the Internet from within the institute network is hard (and possibly impossible with the added layer of the vpn). When I open up Chrome and try to access an internet site, it takes me to a captive portal page that doesn't let me log in properly (I presume it detects that I am coming from the VPN IP and not from a regular internal IP).



How can I tell Chrome to use my regular home wifi connection instead of going through the vpn tunnel, while having SSH go through VPN?


More From » ssh

 Answers
0

On OpenVPN usually the server "decides" this for you: It can be configured to tell clients to send all their traffic (by default) through the VPN - which makes sense e.g. if the VPN is used to secure your internet connection.



The openVPN configuration you are using is probably setting your "default route" so most connections (to the internet) are made through the VPN.



As your institute probably does not want to provide internet access through their VPN (i am just guessing), they would have to change the configuration on the server.



As a hint for the admin that configures the VPN server: The configuration probably includes a line like this:



push "redirect-gateway def1 bypass-dhcp" 


Commenting out that line and reloading the server should resolve the issue for all clients.



If there is somehow no way to change the server configuration, you will have to rely on some "hacking" for this issue on your client - but since this should really be resolved on the server side, i won't get deeper into this (yet).


[#28188] Wednesday, August 25, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
neasinient

Total Points: 491
Total Questions: 120
Total Answers: 93

Location: The Bahamas
Member since Mon, Aug 2, 2021
3 Years ago
;