Link to home
Start Free TrialLog in
Avatar of blue2you
blue2you

asked on

OpenVPN connects but i loose internet connection

Hi Guys
I have set up a openvpn connection using this tutorial

http://www.itsatechworld.com/2006/01/29/how-to-configure-openvpn/

 everything works fine however, i cannot connect to the internet when the vpn connection is up and running, is there a way i can keep the VPN connection running and still browse the internet.

thanks
Avatar of blue2you
blue2you

ASKER


dont worry people, go it working,
just had to hash out line:  push "redirect-gateway def1"
Avatar of Rob Williams
The is a default configuration with most VPN's, which is a security feature. It protects the remote (corporate) network from the client's local network, by blocking any local traffic while connected to the VPN. In most cases you can disable this, but be aware it is not recommended. I am not familiar with the OpenVPN system, but with some systems you can change this on the client, others require the VPN server be configured to allow "split tunneling". If using the windows client, or similar, you can disable this on the client/connecting PC, by going to:
control panel | network connections | right click on the VPN/Virtual adapter and choose properties | Networking | TCP/IP -properties | Advanced | General | un-check  "Use default gateway on remote network"
Sorry blue2you, missed your comment -posted the same minute :-)
--Rob
When you configure the vpn settings from one router ( Local server) to reote router then you give the detials of local LAn /Subnet mask/ Gateway and preshared key ..means any problem with taht key please recheck your vpn configuration....

and when you disabled the VPN then you can browse the internet..?
ASKER CERTIFIED SOLUTION
Avatar of Computer101
Computer101
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial