[pptp-server] Newbie trouble GRE fail

Sarel Botha sjbotha at base.za.net
Tue Nov 6 06:47:46 CST 2001


I don't think this is true. I used to be able to use VPN across this Linksys
router to access a 2.2.x box. Now, with 2.4.x on the server and still the
same router it won't work.

Sarel

-----Original Message-----
From: hvrietsc at yahoo.com [mailto:hvrietsc at yahoo.com]
Sent: Monday, November 05, 2001 11:00 PM
To: Sarel Botha
Cc: hvrietsc at yahoo.com
Subject: Re: [pptp-server] Newbie trouble GRE fail


you need to apply the kernel patch to ipchains to properly apply NAt/MASQ
so on the machine that is doinfg NAT/MASQ (assuming this is a linux box).


On Mon, Nov 05, 2001 at 10:04:27PM -0500, Sarel Botha wrote:
>
>
> I thought that could be my problem too. What can you do when the client is
> behind a NAT firewall? I thought port 47 and 1723 have to be masqed and
> that's it. Anything else?
>
>
> -----Original Message-----
> From: pptp-server-admin at lists.schulte.org
> [mailto:pptp-server-admin at lists.schulte.org]On Behalf Of
> hvrietsc at yahoo.com
> Sent: Monday, November 05, 2001 3:40 PM
> To: Jorge Santos
> Cc: pptp
> Subject: Re: [pptp-server] Newbie trouble GRE fail
>
>
> 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. --
> _______________________________________________
> 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