LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-27-2014, 03:53 PM   #1
sousacanfly
LQ Newbie
 
Registered: Jan 2014
Posts: 28

Rep: Reputation: Disabled
No internet after VPN connection on VM


Hi guys,

i've connected successfully to one VPN from my VM.

Plot twist:
The VPN server is also the machine running the KVM hypervisor!

Using NAT, bridging the ethernet card from the hypervisor, i get internet with no issues, with real speed connection.

After connecting to the VPN through the VPN, BAM! No internet.

This is my output from $route -n:

http://s7.postimg.org/xopl2ejgb/Capt...s_20_40_44.png

I've tried $dig www.google.com

It works. But if i try $ping www.google.com it doesn't

Any hints?
 
Old 03-04-2014, 09:19 AM   #2
nikmit
Member
 
Registered: May 2011
Location: Nottingham, UK
Distribution: Debian
Posts: 178

Rep: Reputation: 34
Connecting to the VPN screws up your routing table. 0.0.0.0 is not a valid address for your default gateway.
 
Old 03-05-2014, 02:01 PM   #3
sousacanfly
LQ Newbie
 
Registered: Jan 2014
Posts: 28

Original Poster
Rep: Reputation: Disabled
Thanks nikmit, i've defined the gateway at VPN connection preferences as the server's IP, now i get internet.

Having another issue with the VPN, whenever i try to connect using only PSK, is fine, when i try to use the CHAP method (using username and password) it simply doesn't connect.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] No Internet traffic through the PPTP VPN connection tghasemi Linux - Server 2 05-21-2012 11:40 AM
Share VPN Internet Connection davidolaj Linux - Networking 1 05-29-2009 01:33 AM
Problems with the VPN internet connection Deadw Slackware 1 04-01-2008 05:03 PM
VPN connection with my internet provider kruvalig Fedora 5 08-01-2007 02:08 AM
making VPN internet connection mohtasham1983 Linux - Newbie 3 09-27-2005 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration