-   Linux - Networking (
-   -   PPTP problem (

Radiofisik 11-30-2010 01:50 PM

PPTP problem
There is a VPN server with following parameters
ip address of eth0
VPN local address (same as eth0's) <- cause of problem here
VPN remote address

There is a VPN client which is based on Red Hat (kernel 2.4.20-46.9) with pptp-linux-1.1.0-3mdk.i586.rpm installed. It allows me to connect the VPN server but ping VPN server fails.
If I change VPN server's local address to another subnet (I can only do it with my server on test purpose) everything works fine. If I use another Linux distro with a new kernel everything is working fine too.

It seems to me that problem is with routing when the pptp client connects the server it gets a route which says that the network is available via ppp interface and the pptp client sends packets to itself by using the route.

Have you any idea how to get it working without reconfiguring the server?

Radiofisik 12-01-2010 10:38 AM

I found the solution
route add -net netmask gw dev eth0

ph.sebu 12-08-2010 02:28 PM

Here is another solution

All times are GMT -5. The time now is 05:56 AM.