Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 13th January 2010, 10:56 AM
lawskynet Offline
Registered User
 
Join Date: Jan 2010
Posts: 9
linuxfedorafirefox
Network-Manager PPTP add Routes

Hi,

I currently managed it to get a pptp-connect to my home network. now I have another little problem. NetworkManager always routes the whole network traffic over my home network if i am connected to the home network.

If i set the "Use this connection only for resources on its network" I have do manually say:

Code:
route add -net 192.168.1.0 netmask 255.255.255.0 dev ppp0
After that only the correct traffic runs over the vpn. Now my question is it possible to setup the route via the networkmanager gui?

regards,
patrick
Reply With Quote
  #2  
Old 13th January 2010, 11:13 AM
AlexDudko Offline
Registered User
 
Join Date: Mar 2007
Location: Ukraine
Posts: 381
linuxfedorafirefox
Edit connections -> vpn -> edit -> IPv4 Settings -> Routes...
Reply With Quote
  #3  
Old 13th January 2010, 11:27 AM
lawskynet Offline
Registered User
 
Join Date: Jan 2010
Posts: 9
linuxfedorafirefox
Thanks now it works, I have to use 192.168.1.0 as Address and 24 as Metric.
Reply With Quote
  #4  
Old 13th January 2010, 02:17 PM
AlexDudko Offline
Registered User
 
Join Date: Mar 2007
Location: Ukraine
Posts: 381
linuxfedorafirefox
Quote:
Originally Posted by lawskynet View Post
Thanks now it works, I have to use 192.168.1.0 as Address and 24 as Metric.
There is a utility for calculating the Metric - ipcalc
for instance you can calculate you Metric from your ipaddress and networkmask this way:
Quote:
$ ipcalc -p 192.168.1.0 255.255.255.0
will return
Quote:
$PREFIX=24
Reply With Quote
Reply

Tags
add, networkmanager, pptp, routes

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
Network Manager PPTP VPN issue with SELinux pabloguevara Servers & Networking 1 8th December 2009 08:28 PM
Static routes with Network Manger lexsys Servers & Networking 0 28th February 2009 06:23 AM
PPTP VPN client, Network manager? Grrrrrrr lynxus Using Fedora 5 22nd July 2008 07:43 PM
network manager pptp plugin rockfly12 Servers & Networking 5 4th December 2007 01:45 PM
Network manager, WPA2 & PPTP Issues lynxus Servers & Networking 8 12th November 2007 07:39 AM


Current GMT-time: 00:01 (Sunday, 19-05-2013)

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