[pptp-server] VPN with PPTP on ADSL : impossible to make it work !!! Please Help

Ivan Maillard imaillard at jiga.fr
Wed Nov 28 09:08:54 CST 2001


Hi,

I do not succeed to make a VPN working with :

* a RH 7.2 linux server supporting an ADSL connection to the Internet
(Nettissimo from France Telecom), using rp-pppoe-3.2-3 package (ppp0
interface)
* PPTP 1.0.1 on that linux server
* Win98 clients

My /etc/pptpd.conf

speed 115200
pidfile /var/run/pptpd.pid
options /etc/ppp/options.vpn
debug
listen 193.251.45.35
localip 10.1.1.201-220
remoteip 10.1.1.221-240

My /etc/ppp/options.vpn

lock
debug
auth
+chap
proxyarp

My /etc/ppp/chap-secrets

#username	servername	secret		ipaddress
login_fai	*		passwd_fai	*
validname	*		validpass	*


When VPN logon trying (ipchains being deactivated) :

Nov 28 17:07:48 JIGAGate pptpd[24353]: MGR: Launching
/usr/local/sbin/pptpctrl to handle client
Nov 28 17:07:48 JIGAGate pptpd[24353]: CTRL: local address = 10.1.1.201
Nov 28 17:07:48 JIGAGate pptpd[24353]: CTRL: remote address = 10.1.1.221
Nov 28 17:07:48 JIGAGate pptpd[24353]: CTRL: pppd speed = 115200
Nov 28 17:07:48 JIGAGate pptpd[24353]: CTRL: Client 195.132.186.68 control
connection started
Nov 28 17:07:48 JIGAGate pptpd[24353]: CTRL: Client 195.132.186.68 control
connection started
Nov 28 17:07:48 JIGAGate pptpd[24353]: CTRL: Received PPTP Control Message
(type: 1)
Nov 28 17:07:48 JIGAGate pptpd[24353]: CTRL: Made a START CTRL CONN RPLY
packet
Nov 28 17:07:48 JIGAGate pptpd[24353]: CTRL: I wrote 156 bytes to the
client.
Nov 28 17:07:48 JIGAGate pptpd[24353]: CTRL: Sent packet to client
Nov 28 17:07:48 JIGAGate pptpd[24353]: CTRL: Received PPTP Control Message
(type: 7)
Nov 28 17:07:48 JIGAGate pptpd[24353]: CTRL: Set parameters to 0 maxbps, 16
window size
Nov 28 17:07:48 JIGAGate pptpd[24353]: CTRL: Made a OUT CALL RPLY packet
Nov 28 17:07:48 JIGAGate pptpd[24353]: CTRL: Starting call (launching pppd,
opening GRE)
Nov 28 17:07:48 JIGAGate pptpd[24353]: CTRL: Starting call (launching pppd,
opening GRE)
Nov 28 17:07:48 JIGAGate pptpd[24353]: CTRL: pty_fd = 4
Nov 28 17:07:48 JIGAGate pptpd[24353]: CTRL: tty_fd = 5
Nov 28 17:07:48 JIGAGate pptpd[24354]: CTRL (PPPD Launcher): Connection
speed = 115200
Nov 28 17:07:48 JIGAGate pptpd[24354]: CTRL (PPPD Launcher): local address =
10.1.1.201
Nov 28 17:07:48 JIGAGate pptpd[24354]: CTRL (PPPD Launcher): remote address
= 10.1.1.221
Nov 28 17:07:48 JIGAGate pptpd[24353]: CTRL: I wrote 32 bytes to the client.
Nov 28 17:07:48 JIGAGate pptpd[24353]: CTRL: Sent packet to client
Nov 28 17:07:48 JIGAGate pppd[24354]: pppd 2.4.1 started by root, uid 0
Nov 28 17:07:48 JIGAGate pppd[24354]: pppd 2.4.1 started by root, uid 0
Nov 28 17:07:48 JIGAGate pppd[24354]: Using interface ppp1
Nov 28 17:07:48 JIGAGate pppd[24354]: Using interface ppp1
Nov 28 17:07:48 JIGAGate pppd[24354]: Connect: ppp1 <--> /dev/pts/1
Nov 28 17:07:48 JIGAGate pppd[24354]: Connect: ppp1 <--> /dev/pts/1
Nov 28 17:07:48 JIGAGate pptpd[24353]: GRE:
read(fd=5,buffer=bfffd680,len=8260) from network failed: status = -1 error =
Protocol no
t available
Nov 28 17:07:48 JIGAGate pptpd[24353]: GRE:
read(fd=5,buffer=bfffd680,len=8260) from network failed: status = -1 error =
Protocol no
t available
Nov 28 17:07:48 JIGAGate pptpd[24353]: CTRL: GRE read or PTY write failed
(gre,pty)=(5,4)
Nov 28 17:07:48 JIGAGate pptpd[24353]: CTRL: GRE read or PTY write failed
(gre,pty)=(5,4)
Nov 28 17:07:49 JIGAGate pptpd[24353]: CTRL: Client 195.132.186.68 control
connection finished
Nov 28 17:07:49 JIGAGate pptpd[24353]: CTRL: Client 195.132.186.68 control
connection finished
Nov 28 17:07:49 JIGAGate pppd[24354]: Modem hangup
Nov 28 17:07:49 JIGAGate pppd[24354]: Modem hangup
Nov 28 17:07:49 JIGAGate pptpd[24353]: CTRL: Exiting now
Nov 28 17:07:49 JIGAGate pppd[24354]: Connection terminated.

I've tried lot of parameters set on the win98 box without any change on the
result. The same with /etc/ppp/options.vpn or /etc/ppp/chap-secrets.

TCPDUMP on ppp0 (ADSL interface) shows the following line when attempting to
connect from the win98 client :
17:13:28.321787 < r186m68.cybercable.tm.fr > 193.251.45.35: icmp:
r186m68.cybercable.tm.fr protocol 47 unreachable [tos 0xc0]

Note : cybercable is the FAI of the win98 box.

I would greatly appreciate any help on that very painful case.

THANKS !

Ivan.
imaillard at jiga.fr




More information about the pptp-server mailing list