[pptp-server] pppd

bao bao at gibbons.com
Wed May 22 17:06:10 CDT 2002


I had enabled all the protocols needed by pptp such as TCP 1723, GRE 47 on
the firewall, but it didn't work. Now i'm taking the firewall off, and pptp
works.

What are the other rules (protocols, ports) that I have to enable on the
firewall ??

Thanks,

bao wrote:

> I'm running RH 7.3 with pptp-1.0.1 and ppp-2.4.1-3 (all newest
> versions).
> When I connect in from a win98 client, it fails when it comes to pppd.
>
> Here is the log:
>
> May 22 12:34:21 barracuda pptpd[13373]: MGR: Manager process started
> May 22 12:34:34 barracuda pptpd[13376]: MGR: Launching
> /usr/local/sbin/pptpctrl to handle client
> May 22 12:34:34 barracuda pptpd[13376]: CTRL: local address =
> xx.xx.xx.166
> May 22 12:34:34 barracuda pptpd[13376]: CTRL: remote address =
> xx.xx.xx.185
> May 22 12:34:34 barracuda pptpd[13376]: CTRL: pppd speed = 115200
> May 22 12:34:34 barracuda pptpd[13376]: CTRL: pppd options file =
> /etc/ppp/pptpd.options
> May 22 12:34:34 barracuda pptpd[13376]: CTRL: Client 209.247.138.250
> control connection started
> May 22 12:34:34 barracuda pptpd[13376]: CTRL: Received PPTP Control
> Message (type: 1)
> May 22 12:34:34 barracuda pptpd[13376]: CTRL: Made a START CTRL CONN
> RPLY packet
> May 22 12:34:34 barracuda pptpd[13376]: CTRL: I wrote 156 bytes to the
> client.
> May 22 12:34:34 barracuda pptpd[13376]: CTRL: Sent packet to client
> May 22 12:34:34 barracuda pptpd[13376]: CTRL: Received PPTP Control
> Message (type: 7)
> using channel 25
> May 22 12:34:34 barracuda pptpd[13376]: CTRL: Set parameters to 0
> maxbps, 16 window size
> Using interface ppp0
> May 22 12:34:34 barracuda pptpd[13376]: CTRL: Made a OUT CALL RPLY
> packet
> May 22 12:34:34 barracuda pptpd[13376]: CTRL: Starting call (launching
> pppd, opening GRE)
> May 22 12:34:34 barracuda pptpd[13376]: CTRL: pty_fd = 4
> May 22 12:34:34 barracuda pptpd[13376]: CTRL: tty_fd = 5
> Connect: ppp0 <--> /dev/pts/5
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x92594cf4> <pcomp>
> <accomp>]
> May 22 12:34:34 barracuda pptpd[13376]: CTRL: I wrote 32 bytes to the
> client.
> May 22 12:34:34 barracuda pptpd[13376]: CTRL: Sent packet to client
> May 22 12:34:34 barracuda pptpd[13377]: CTRL (PPPD Launcher): Connection
> speed = 115200
> May 22 12:34:34 barracuda pptpd[13377]: CTRL (PPPD Launcher): local
> address = xx.xx.xx.166
> May 22 12:34:34 barracuda pptpd[13377]: CTRL (PPPD Launcher): remote
> address = xx.xx.xx.185
> May 22 12:34:34 barracuda pppd[13377]: pppd 2.4.1 started by root, uid 0
>
> May 22 12:34:34 barracuda pppd[13377]: using channel 25
> May 22 12:34:34 barracuda pppd[13377]: Using interface ppp0
> May 22 12:34:34 barracuda pppd[13377]: Connect: ppp0 <--> /dev/pts/5
> May 22 12:34:34 barracuda pppd[13377]: sent [LCP ConfReq id=0x1
> <asyncmap 0x0> <magic 0x92594cf4> <pcomp> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x92594cf4> <pcomp>
> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x92594cf4> <pcomp>
> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x92594cf4> <pcomp>
> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x92594cf4> <pcomp>
> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x92594cf4> <pcomp>
> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x92594cf4> <pcomp>
> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x92594cf4> <pcomp>
> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x92594cf4> <pcomp>
> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x92594cf4> <pcomp>
> <accomp>]
> LCP: timeout sending Config-Requests
> Connection terminated.
> May 22 12:35:01 barracuda last message repeated 9 times
> May 22 12:35:04 barracuda pppd[13377]: LCP: timeout sending
> Config-Requests
> May 22 12:35:04 barracuda pppd[13377]: Connection terminated.
> May 22 12:35:04 barracuda pppd[13377]: Exit.
> May 22 12:35:04 barracuda pptpd[13376]: GRE:
> read(fd=4,buffer=804daa0,len=8196)
> from PTY failed: status = -1 error = Input/output error
> May 22 12:35:04 barracuda pptpd[13376]: CTRL: PTY read or GRE write
> failed (pty,gre)=(4,5)
> May 22 12:35:04 barracuda pptpd[13376]: CTRL: Client 209.247.138.250
> control connection finished
> May 22 12:35:04 barracuda pptpd[13376]: CTRL: Exiting now
> May 22 12:35:04 barracuda pptpd[13373]: MGR: Reaped child 13376
>
> Using packet sniffer, I see that the linux server sends out lots of LCP
> Config Requests, the clients
> keeps sending back Encapsulated PPP (GRE). It seems like they can't
> communicate with each other.
> Please give me any comments b/c without ppp working, i won't get pptp
> and dialup to work.
>
> Thanks
>
> _______________________________________________
> 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