[pptp-server] pptp routing

Jean-Paul Chavant chavant at geosys.fr
Wed Sep 27 03:08:28 CDT 2000


hello,

i ve established successfully my connexion to my VPN server (Linux + PoPToP)

now i try to ping computers on the private LAN.

my network :


[192.168.1.x]-----(router)-----[192.168.3.x]-----(vpnserver)-----[172.16.0.x
]-----(client)

vpnserver is 192.168.3.252 and 172.16.0.1
client is 172.16.0.10

vpn network is 192.168.0.x (server ip is 192.168.0.1 and client ip is
192.168.0.100)

When i do a pipng on server ips (192.168.3.252/172.16.0.1) it works fine
When i do a ping on a computer on the network 1 or 3 i can see thet the
packets are forwarded (with tcpdump) but they never come back apparently
(computers on network 1 and 3 doens't have the routes to go to 192.168.0.x).

I think my problem comes from proxy arp ... but i don't know how the start
up it ... :(


i ve tried to use this script in the ip-up.local but i seemes it doesn t
work ...

#! /bin/bash

REMOTE_IP_ADDRESS=$5

date > /var/run/ppp.up
echo "REMOTE_IP_ADDRESS = " $REMOTE_IP_ADDRESS >> /var/log/ppp.log
arp --set $REMOTE_IP_ADDRESS 'MAC_ADDRESS' pub >> /var/log/ppp.log

exit 0


i use the MAC ADDRESS of the vpnServer Nic witch is on the LAN 3. This is
correct ?

Someone could help me ?

Thanx,

JPaul.




More information about the pptp-server mailing list