[pptp-server] Again connection Problems to my PPTP Server

robert berzerke at swbell.net
Tue Dec 18 13:07:56 CST 2001


On Tuesday 18 December 2001 09:35 am, Roland H wrote:
> what do you mean with correct one? In that subnet is the network of my
> server!

I'm not sure if your subnet is 192.168.1.0/24 or 192.168.0.0/24.  Either one 
could be correct, but only one is.  I have no way to tell from here which one 
is.

> i did that change in my options.pptpd file, but that didn't kook a change
> to my pptpd accesability! ;-(

Did you restart pptpd?

> but there was another errormessage "couldn't replace default route to ppp0"
> or something like that, but thats why i forgot the "nodefaultroute" in the
> options.pptpd.

Try adding "nodefaultroute" to the options file I sent you.  Does that get 
rid of the error (after restarting)?  If not, try commenting out the line 
"deflate 0", but do that only as a last resort.

> Thank you for your homepage, thats one which did realy helped me setting up
> my pptpd!
>  Any other idea?
>
> Bye Roland
>
> ----- Original Message -----
> From: "robert" <berzerke at swbell.net>
> To: "Roland H" <mrgermany at t-online.de>; <pptp-server at lists.schulte.org>
> Sent: Tuesday, December 18, 2001 4:01 PM
> Subject: Re: [pptp-server] Again connection Problems to my PPTP Server
>
> > Are you sure the 192.168.0.0/24 subnet is the correct one?
> >
> > Also, try this options.pptpd file
> >
> > name *
> > lock
> > mtu 1490
> > mru 1490
> > proxyarp
> > auth
> > +chap
> > #+chapms #This one is optional and my be omitted.
> > +chapms-v2
> > ipcp-accept-local
> > ipcp-accept-remote
> > lcp-echo-failure 3
> > lcp-echo-interval 5
> > deflate 0
> > mppe-128
> > mppe-40
> > mppe-stateless
> > nodeflate
> > nobsdcomp
> >
> > On Tuesday 18 December 2001 07:55 am, Roland H wrote:
> > > Hi all,
> > >
> > > thanx for your great help, but I have still that error! Now I changed
>
> the
>
> > > IP adresses: localip 192.168.0.50
> > > remoteip 192.168.0.60-80
> > > but nothing changed, still the same error!
> > > What can I try now?
> > >
> > > Thanx, Roland
> > >
> > >
> > >
> > >
> > >   Roland H wrote:
> > >
> > >     Hi all,
> > >     for (now) two weeks I try to set my server to allow incoming vpn
> > > connection, but what have I realised? nearly nothing! Anyway, at first
> > > thanx for your great help here in the mailinglist!
> > >     Perhaps you can help me again!
> > >     Please take a look at my settings and my log!
> > >     Dec 16 17:06:30 Server pppd[963]: remote IP address 192.168.1.234
> > >     Dec 16 17:07:06 Server pptpd[962]: CTRL: Received PPTP Control
>
> Message
>
> > >     (type: 12)
> > >     It took 36 seconds until that message came! What does that mean?
> > >     Dec 16 17:07:06 Server pptpd[962]: GRE: read error: Bad file
>
> descriptor
>
> > >     Dec 16 17:07:06 Server pptpd[962]: CTRL: PTY read or GRE write
>
> failed
>
> > >     (pty,gre)=(-1,-1)
> > >     And whats that?
> > >     I searched the hole web, but I could find nothing!
> > >
> > >     IMPORTANT: when I cut my dsl line (with /etc/rc.d/adsl stop) it
>
> works,
>
> > > but not over the internet ;-)!
> > >
> > >     Any help would be very nice!
> > >
> > >     bye
> > >     Roland
> > >
> > >     (options.pptp:)
> > >
> > >     debug
> > >     name server
> > >     mru 1450
> > >     mtu 1450
> > >     nodefaultroute
> > >     auth
> > >     require-chap
> > >     proxyarp
> > >     +chap
> > >     +chapms
> > >     +chapms-v2
> > >     mppe-40
> > >     mppe-128
> > >     mppe-stateless
> > >
> > >     (pptpd.conf:)
> > >     option /etc/ppp/options.pptp
> > >     debug
> > >     localip 192.168.0.234
> > >     remoteip 192.168.1.234-238,192.168.1.245
> > >
> > >     (var/log/messages)
> > >     Hec 16 17:06:29 Server pptpd[962]: MGR: Launching
> > > /usr/sbin/pptpctrl
>
> to
>
> > >     handle client
> > >     Dec 16 17:06:29 Server pptpd[962]: CTRL: local address =
>
> 192.168.0.234
>
> > >     Dec 16 17:06:29 Server pptpd[962]: CTRL: remote address =
>
> 192.168.1.234
>
> > >     Dec 16 17:06:29 Server pptpd[962]: CTRL: pppd options file =
> > >     /etc/ppp/options.pptp
> > >     Dec 16 17:06:29 Server pptpd[962]: CTRL: Client 192.168.0.20
> > > control connectionstarted
> > >     Dec 16 17:06:29 Server pptpd[962]: CTRL: Received PPTP Control
>
> Message
>
> > >     (type: 1)
> > >     Dec 16 17:06:29 Server pptpd[962]: CTRL: Made a START CTRL CONN
> > > RPLY packet Dec 16 17:06:29 Server pptpd[962]: CTRL: I wrote 156 bytes
> > > to the client. Dec 16 17:06:29 Server pptpd[962]: CTRL: Sent packet to
> > > client
>
> Dec
>
> > > 16 17:06:29 Server pptpd[962]: CTRL: Received PPTP Control Message
>
> (type:
> > > 7)
> > >     Dec 16 17:06:29 Server pptpd[962]: CTRL: 0 min_bps, 1525 max_bps,
> > > 32 window size
> > >     Dec 16 17:06:29 Server pptpd[962]: CTRL: Made a OUT CALL RPLY
> > > packet Dec 16 17:06:29 Server pptpd[962]: CTRL: Starting call
> > > (launching
>
> pppd,
>
> > >     opening GRE)
> > >     Dec 16 17:06:29 Server pptpd[962]: CTRL: pty_fd = 5
> > >     Dec 16 17:06:29 Server pptpd[962]: CTRL: tty_fd = 6
> > >     Dec 16 17:06:29 Server pptpd[963]: CTRL (PPPD Launcher): Connection
> > > speed = 115200
> > >     Dec 16 17:06:29 Server pptpd[963]: CTRL (PPPD Launcher): local
>
> address
>
> > > = 192.168.0.234
> > >     Dec 16 17:06:29 Server pptpd[963]: CTRL (PPPD Launcher): remote
>
> address
>
> > > = 192.168.1.234
> > >     Dec 16 17:06:29 Server pptpd[962]: CTRL: I wrote 32 bytes to the
> > > client. Dec 16 17:06:29 Server pptpd[962]: CTRL: Sent packet to client
>
> Dec
>
> > > 16 17:06:29 Server pptpd[962]: CTRL: Received PPTP Control Message
>
> (type:
> > > 15)
> > >     Dec 16 17:06:29 Server pptpd[962]: CTRL: Got a SET LINK INFO packet
> > > with standard ACCMs
> > >     Dec 16 17:06:30 Server pppd[963]: pppd 2.4.0 started by root, uid 0
> > >     Dec 16 17:06:30 Server pppd[963]: Using interface ppp1
> > >     Dec 16 17:06:30 Server pppd[963]: found interface eth0 for proxy
> > > arp Dec 16 17:06:30 Server pppd[963]: local  IP address 192.168.0.234
> > > Dec 16 17:06:30 Server pppd[963]: remote IP address 192.168.1.234 Dec
> > > 16 17:07:06 Server pptpd[962]: CTRL: Received PPTP Control
>
> Message
>
> > >     (type: 12)
> > >     Dec 16 17:07:06 Server pptpd[962]: CTRL: Made a CALL DISCONNECT
> > > RPLY packet Dec 16 17:07:06 Server pptpd[962]: CTRL: Received CALL CLR
>
> request
>
> > > (closing call)
> > >     Dec 16 17:07:06 Server pptpd[962]: CTRL: I wrote 148 bytes to the
> > > client. Dec 16 17:07:06 Server pptpd[962]: CTRL: Sent packet to client
>
> Dec
>
> > > 16 17:07:06 Server pptpd[962]: GRE: read error: Bad file descriptor Dec
>
> 16
>
> > > 17:07:06 Server pptpd[962]: CTRL: PTY read or GRE write failed
> > > (pty,gre)=(-1,-1)
> > >     Dec 16 17:07:06 Server pptpd[962]: CTRL: Client 192.168.0.20
> > > control connectionfinished
> > >     Dec 16 17:07:06 Server pptpd[962]: CTRL: Exiting now
> > >     Dec 16 17:07:06 Server pptpd[775]: MGR: Reaped child 962
> > >
> > >     _______________________________________________
> > >     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