OpenVPN connects but i loose internet connection

blue2you
blue2you used Ask the Experts™
on
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
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Author

Commented:

dont worry people, go it working,
just had to hash out line:  push "redirect-gateway def1"
Top Expert 2013

Commented:
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"
Top Expert 2013

Commented:
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..?
PAQed with points refunded (500)

Computer101
EE Admin

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial