[pptp-server] PPTP and RedHat 7.2
Richard Nairn
nairnr at nairnconsult.hn.org
Fri Feb 15 10:33:33 CST 2002
I have the following installed, and still no dice.
pptpd-1.1.2-1
kernel-2.4.9-13mppe
ppp-2.4.1-3mppe
Feb 15 09:28:09 gateway pptpd[5358]: CTRL: Client 207.148.164.66 control
connection started
Feb 15 09:28:09 gateway pptpd[5358]: CTRL: Starting call (launching pppd,
opening GRE)
Feb 15 09:28:09 gateway pppd[5359]: pppd 2.4.1 started by root, uid 0
Feb 15 09:28:09 gateway pppd[5359]: Using interface ppp0
Feb 15 09:28:09 gateway pppd[5359]: Connect: ppp0 <--> /dev/pts/1
Feb 15 09:28:09 gateway pptpd[5358]: GRE: read error: Protocol not
available
Feb 15 09:28:09 gateway pptpd[5358]: CTRL: PTY read or GRE write failed
(pty,gre)=(4,5)
Feb 15 09:28:09 gateway pptpd[5358]: CTRL: Client 207.148.164.66 control
connection finished
Feb 15 09:28:09 gateway pppd[5359]: Modem hangup
Feb 15 09:28:09 gateway pppd[5359]: Connection terminated.
Feb 15 09:28:09 gateway pppd[5359]: Exit.
On Fri, Feb 15, 2002 at 11:36:43AM +0100, R. de Vroede wrote:
> You need to get ppp-2.4.1-3mppe from http://mirror.binarix.com/ppp-mppe/
> I was doing to many things at the same time again when writing the
> specfile for -2mppe. ver 3 fixes some errors. As soon as Mike Barsalou
> places the pptpd-1.1.2 RPM I build on the PoPToP-site I suggest you get
> that too.
> In the mean time you can get it at
> http://fenix.getmyip.com/~fenix/pptpd-1.1.2-1.i386.rpm
>
> Just to be sure:
> iptables -A INPUT -i [ext-if] -p tcp -m tcp --dport 1723 -j ACCEPT
> iptables -A INPUT -i [ext-if] -p 47 -j ACCEPT
>
> To give VPN users proper access to the network, you could make
> ip-up.local and ip-down.local scripts:
> ip-up.local:
> #!/bin/sh
> echo "$(date): ip-up 1:$1 2:$2 3:$3 4:$4 5:$5 6:$6" >>
> /var/log/messages
> iptables -I FORWARD -i $1 -j ACCEPT
> iptables -I FORWARD -i $1 -d ! [int-network] -j DROP
>
> ip-down.local:
> #!/bin/sh
> echo "$(date): ip-down 1:$1 2:$2 3:$3 4:$4 5:$5 6:$6" >>
> /var/log/messages
> iptables -D FORWARD -i $1 -j ACCEPT
> iptables -D FORWARD -i $1 -d ! [int-network] -j DROP
>
> This should be enough to get pptp up and running.
>
> Regards,
> Richard de Vroede
>
>
> > Hi,
> >
> > I have a few machines with RH 7.2 installed on them. Whenever I try and
> > connect to them with pptp, I get a Gre: protocol not available error.
> >
> > Feb 14 10:12:20 gateway pptpd[3806]: CTRL: Starting call (launching pppd,
> > opening GRE)
> > Feb 14 10:12:20 gateway pppd[3807]: pppd 2.4.1 started by root, uid 0
> > Feb 14 10:12:20 gateway pppd[3807]: Using interface ppp0
> > Feb 14 10:12:20 gateway pppd[3807]: Connect: ppp0 <--> /dev/pts/1
> > Feb 14 10:12:20 gateway pptpd[3806]: GRE:
> > read(fd=5,buffer=bfffd6f0,len=8260) from network failed: status = -1 error
> > = Protocol not available
> > Feb 14 10:12:20 gateway pptpd[3806]: CTRL: GRE read or PTY write failed
> > (gre,pty)=(5,4)
> > Feb 14 10:12:20 gateway pptpd[3806]: CTRL: Client 209.91.117.27 control
> > connection finished
> > Feb 14 10:12:20 gateway pppd[3807]: Modem hangup
> > Feb 14 10:12:20 gateway pppd[3807]: Connection terminated.
> > Feb 14 10:12:20 gateway pppd[3807]: Exit.
> >
> >
> > The machine is the firewall, and is not blocking any of the ports or
> > protocols. I am running kernel-2.4.9-13mppe, and ppp-2.4.1-2mppe. Any help
> > would be appreciated, as this is getting urgent.
> >
> > --
> > | Richard Nairn Specializing in Linux
> > | Nairn Consulting Web / Database Solutions
> > | Calgary, AB
> > | nairnr at nairnconsult.hn.org
> > _______________________________________________
> > 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. --
> --
> Richard de Vroede
> (r.devroede at linvision.com)
> ------------------------------------------------
> Linvision BV Provides Linux Solutions
> Elektronicaweg 16D
> 2628 XG Delft
> T: +31157502310 info at linvision.com
> F: +31157502319 http://devel.linvision.com
> ------------------------------------------------
---end quoted text---
--
| Richard Nairn Specializing in Linux
| Nairn Consulting Web / Database Solutions
| Calgary, AB
| nairnr at nairnconsult.hn.org
More information about the pptp-server
mailing list