[pptp-server] Newbie trouble GRE fail

hvrietsc at yahoo.com hvrietsc at yahoo.com
Mon Nov 5 14:39:57 CST 2001


i think your problem is caused by the client being NATed

On Mon, Nov 05, 2001 at 05:39:30PM -0000, Jorge Santos wrote:
> 
> Hi all
> 
> I've just installed pptp-1.0.1 on a RH 7.2 box with stock ppp.
> I use iptables allowing everything in from a specific host from where i'm
> trying to connect with a win98 box
> my ppp options file is as follows:
> 
> debug
> auth
> require-chap
> proxyarp
> 
> my pptp.conf is:
> 
> debug
> localip 192.168.0.15-20
> remoteip 192.168.0.21-254
> pidfile /var/run/pptpd.pid
> 
> so when i start pptp with the command:
> 
> HOME=/etc/ppp/
> /usr/sbin/pptpd -d
> 
> and i try to connect from the w98 box i get the following log:
> 
> Nov  5 17:44:03 k1 pptpd[7064]: MGR: Launching /usr/sbin/pptpctrl to handle
> client
> Nov  5 17:44:03 k1 pptpd[7064]: CTRL: Client 212.54.136.4 control connection
> started
> Nov  5 17:44:03 k1 pptpd[7064]: CTRL: Received PPTP Control Message (type:
> 1)
> Nov  5 17:44:03 k1 pptpd[7064]: CTRL: Made a START CTRL CONN RPLY packet
> Nov  5 17:44:03 k1 pptpd[7064]: CTRL: I wrote 156 bytes to the client.
> Nov  5 17:44:03 k1 pptpd[7064]: CTRL: Sent packet to client
> Nov  5 17:44:03 k1 pptpd[7064]: CTRL: Received PPTP Control Message (type:
> 7)
> Nov  5 17:44:03 k1 pptpd[7064]: CTRL: Set parameters to 0 maxbps, 16 window
> size
> Nov  5 17:44:03 k1 pptpd[7064]: CTRL: Made a OUT CALL RPLY packet
> Nov  5 17:44:03 k1 pptpd[7064]: CTRL: Starting call (launching pppd, opening
> GRE)
> Nov  5 17:44:03 k1 pptpd[7064]: CTRL: pty_fd = 4
> Nov  5 17:44:03 k1 pptpd[7064]: CTRL: tty_fd = 5
> Nov  5 17:44:03 k1 pptpd[7064]: CTRL: I wrote 32 bytes to the client.
> Nov  5 17:44:03 k1 pptpd[7064]: CTRL: Sent packet to client
> Nov  5 17:44:03 k1 pptpd[7065]: CTRL (PPPD Launcher): Connection speed =
> 115200
> Nov  5 17:44:03 k1 pppd[7065]: pppd 2.4.1 started by root, uid 0
> Nov  5 17:44:03 k1 pppd[7065]: using channel 20
> Nov  5 17:44:03 k1 pppd[7065]: Using interface ppp0
> Nov  5 17:44:03 k1 pppd[7065]: Connect: ppp0 <--> /dev/pts/2
> Nov  5 17:44:03 k1 pppd[7065]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth
> chap MD5> <magic 0x7dc806bf> <pcomp> <accomp>]
> Nov  5 17:44:03 k1 pptpd[7064]: GRE: read(fd=5,buffer=bfffd6f0,len=8260)
> from network failed: status = -1 error = Protocol not available
> Nov  5 17:44:03 k1 pptpd[7064]: CTRL: GRE read or PTY write failed
> (gre,pty)=(5,4)
> Nov  5 17:44:03 k1 pptpd[7064]: CTRL: Client 212.54.136.4 control connection
> finished
> Nov  5 17:44:03 k1 pptpd[7064]: CTRL: Exiting now
> Nov  5 17:44:03 k1 pppd[7065]: Modem hangup
> Nov  5 17:44:03 k1 pppd[7065]: Connection terminated.
> Nov  5 17:44:03 k1 pptpd[6820]: MGR: Reaped child 7064
> Nov  5 17:44:03 k1 pppd[7065]: Exit.
> 
> I can't seem to figure out whta's wrong.
> Can you help me please?
> Thanks in advance
> 
> 
> 
>    \_/      Jorge Alexandre Santos
>    'v'      jorgesantos at valnetsado.pt
>   // \\     Tel : 212327300
>  /(   )\    Fax : 212327301
>   ^`~´^     Valnet Sado S.A.
> 
> _______________________________________________
> pptp-server maillist  -  pptp-server at lists.schulte.org
> http://lists.schulte.org/mailman/listinfo/pptp-server
> --- To unsubscribe, go to the url just above this line. --



More information about the pptp-server mailing list