LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 10-16-2008, 08:10 AM   #1
arsham
Member
 
Registered: Mar 2004
Location: London
Distribution: Arch Linux, Debian
Posts: 184

Rep: Reputation: 30
Setting up the routes for pptp


Hi there,
I managed to make a pptp connection with kvpnc.
I get connected , but I have problems with routing.
After connection stablished, I have no access to the internet.

Here is my settings :
Code:
eth2 : inet addr:192.168.1.10  Bcast:192.168.1.255  Mask:255.255.255.0
The route table before vpn :
Code:
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth2
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eth2
0.0.0.0         192.168.1.1     0.0.0.0         UG    100    0        0 eth2
The route table after vpn :
Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     255.255.255.255 UGH   0      0        0 ppp0
10.10.10.1      0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
64.22.72.121    192.168.1.1     255.255.255.255 UGH   0      0        0 eth2
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth2
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eth2
0.0.0.0         10.10.10.1      0.0.0.0         UG    0      0        0 ppp0
0.0.0.0         192.168.1.1     0.0.0.0         UG    100    0        0 eth2
Regards
 
Old 10-16-2008, 09:11 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by arsham View Post
Hi there,
I managed to make a pptp connection with kvpnc.
I get connected , but I have problems with routing.
After connection stablished, I have no access to the internet.
That would make sense. When you establish a VPN tunnel, you're essentially becoming a part of that network. Any traffic you send out is by default, routed to it. So if you have a connection to your office network, and they're using a proxy-server to get out to the internet, your home system is now part of your office network...it will also have to use that proxy server.

Unless you've got multiple NIC's, then you can do some tricks with your routing table, but that's alot of work. You'd have to route your office traffic to the office network, and anything unknown out your other NIC.
 
Old 10-16-2008, 12:44 PM   #3
arsham
Member
 
Registered: Mar 2004
Location: London
Distribution: Arch Linux, Debian
Posts: 184

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by TB0ne View Post
That would make sense. When you establish a VPN tunnel, you're essentially becoming a part of that network. Any traffic you send out is by default, routed to it. So if you have a connection to your office network, and they're using a proxy-server to get out to the internet, your home system is now part of your office network...it will also have to use that proxy server.

Unless you've got multiple NIC's, then you can do some tricks with your routing table, but that's alot of work. You'd have to route your office traffic to the office network, and anything unknown out your other NIC.
Thank you for replying.
What can I do to have access to internet via this vpn?
This is a commercial win server, which provides vpn.

Thanks
 
Old 10-16-2008, 12:55 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by arsham View Post
Thank you for replying.
What can I do to have access to internet via this vpn?
This is a commercial win server, which provides vpn.

Thanks
As I said, either set up a route out another NIC on your machine to the Internet, or find out the proxy server settings on that private network, and use those.
 
Old 10-25-2008, 09:17 PM   #5
bvn
LQ Newbie
 
Registered: Oct 2008
Posts: 14

Rep: Reputation: 10
FC9 to PPTP/exchange server - howto?

I am working on a "best pratice" as to how to configure a Fedora (FC9 on an eeepc-1000 at the moment) laptop to connect to an M$ exchange server. My "operational baseline" is my T40 laptop with XP-pro. The objective is to get the eeepc-1000 with FC9 to operate just as easily (as transparently). Note: both are 802.11 connected.
---
I have installed the network-manager-pptp plugin and configured the connection profile with same information that the T40 required. The M$ machine rejects my eeepc-1000 VPN approaches because FC9 presents "localhost.localdomain" for authentication and all the M$ server wants to hear is userid and password.
---
How do I train my FC9 laptop to speak M$ VPN authentication?
---
I can migrate to certificate based authentication, if I knew where in Fedora I should "park" them. Iv'e also played with open-vpn and vpnc (cisco) but they are not in my target domain (so to speak :-)
--- thanks
 
  


Reply



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
Setting up Routes in FC7 diggs Fedora 3 06-24-2008 09:20 PM
Static routes using routes/ifroutes-eth-id.. files and default gateway disabled TimtheEagle Linux - Networking 0 05-31-2008 07:08 PM
Setting of multipath default routes!! vishamr2000 Linux - Networking 2 06-01-2006 01:12 AM
setting up routes - box with two nic cards josh_mcqueen Linux - Networking 2 07-21-2005 08:53 AM
Setting static routes on LAN cranium2004 Linux - Networking 3 01-06-2005 11:57 PM

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

All times are GMT -5. The time now is 06:15 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