[CentOS] VPN via PPTP and MPPE

Les Mikesell lesmikesell at gmail.com
Wed Nov 2 21:46:54 UTC 2005


On Tue, 2005-11-01 at 22:53, James B. Byrne wrote:
> On 1 Nov 2005 at 11:25, Joe Pruett wrote:
> 
> > on the windows box deep in the network properties for the vpn you'll
> > find the 'use default gateway on this interface' or something very much
> > like that.  uncheck that and then regular internet traffic will not go
> > over the vpn. 
> 
> Thank you.  I found a fairly well written faq on what can go wrong 
> with vpn, which of course I cannot find at the moment.  The basic 
> problem with my setup as originally given is that VPNs cannot connect 
> over IPs belonging to the same netblock as the physical NICs.   So 
> the client end has to have an IP address assigned by the pptpd that 
> is on a different netblock from that assigned to its NIC.
> 
> I changed the client side IP address asignment and I can now get a 
> VPN link to the PPTPD host, but I cannot get a route off that box.  
> Once I get past that problem then I will post a summary of whaI did.  
> This is evidently a routing issue, as you have pointed out, but one 
> that is probably a by product of some configuration error I have made 
> to the pptpd options.

Does the rest of the world have a route back to the server
for that new IP address? That is, you may be using the VPN
address as your source and the server side as your default
gateway so the packets go out, but you need routes back for
the return packets.

-- 
  Les Mikesell
    lesmikesell at gmail.com





More information about the CentOS mailing list