There is a VPN server with following parameters
ip address of eth0 192.168.18.141
VPN local address 192.168.18.141 (same as eth0's) <- cause of problem here
VPN remote address 10.10.1.1-254
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 192.168.18.141 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?
I found the solution
route add -net 192.168.18.124 netmask 255.255.255.255 gw 192.168.18.124 dev eth0
Here is another solution http://techtalk.pipitlabs.com/config...s-pptp-gateway
|All times are GMT -5. The time now is 06:26 AM.|