Fedora Linux Support Community & Resources Center
  #1  
Old 6th March 2012, 08:25 PM
mitchprater Offline
Registered User
 
Join Date: Feb 2012
Location: California USA
Posts: 12
linuxfirefox
F15 NetworkManager VPN overriding gateway

Hi,

I have Fedora 15 installed and running. I'm setting up a VPN connection with the NetworkManager. When the VPN iis on, it works for accessing the private network. However, tun seems to be overwriting the default gateway settings when the VPN is on, so I can no longer access public IP addresses. With VPN off, normal public addresses work fine.

With VPN off:

$ netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 10.128.1.1 0.0.0.0 UG 0 0 0 wlan0
10.128.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0

With VPN on:

$ netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 10.9.0.41 0.0.0.0 UG 0 0 0 tun0
...

NetworkManager shouldn't be doing that, should it? If not, is this a bug, or is there some way I can fix this?

Thanks, mitch
Reply With Quote
  #2  
Old 7th March 2012, 12:53 PM
mdlowry Offline
Registered User
 
Join Date: Jun 2010
Location: New Hampshire, USA
Posts: 36
linuxfirefox
Re: F15 NetworkManager VPN overriding gateway

It's a default behavior for a VPN.

To change it edit the VPN via NetworkManager. On the IPv4 tab at the bottom click the Routes button. Then you will need to check the box for "Use this connection only for resources on this network."
Reply With Quote
  #3  
Old 7th March 2012, 03:11 PM
mitchprater Offline
Registered User
 
Join Date: Feb 2012
Location: California USA
Posts: 12
linuxfirefox
Re: F15 NetworkManager VPN overriding gateway

Excellent! That did it. Thank you so much.

mitch
Reply With Quote
Reply

Tags
f15, gateway, networkmanager, overriding, vpn

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
help dir_colors overriding my preferences firecrow8 Using Fedora 6 9th May 2013 03:35 PM
Headphones not overriding speakers shortcut144 Using Fedora 20 3rd August 2009 03:33 PM
Overriding X configuration IanLeonard Using Fedora 3 21st July 2009 08:26 PM


Current GMT-time: 23:16 (Friday, 18-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat