Koozali.org: home of the SME Server

pptp-linux

Mark

pptp-linux
« on: March 19, 2003, 11:50:16 AM »
Hi
I am trying to connect to sme 5.5 boxes together via pptp with one box running pptp-linux. I cant establish a connection - the server box has the following in its logs

Mar 19 20:40:03 gateway2 pptpd[2776]: MGR: Launching /usr/sbin/pptpctrl to handle client
Mar 19 20:40:03 gateway2 pptpd[2776]: CTRL: local address = 10.74.16.253
Mar 19 20:40:03 gateway2 pptpd[2776]: CTRL: remote address = 10.74.16.240
Mar 19 20:40:03 gateway2 pptpd[2776]: CTRL: pppd speed = 460800
Mar 19 20:40:03 gateway2 pptpd[2776]: CTRL: pppd options file = /etc/ppp/options.pptpd
Mar 19 20:40:03 gateway2 pptpd[2776]: CTRL: Client 203.79.92.12 control connection started
Mar 19 20:40:03 gateway2 pptpd[2776]: CTRL: Received PPTP Control Message (type: 1)
Mar 19 20:40:03 gateway2 pptpd[2776]: CTRL: Made a START CTRL CONN RPLY packet
Mar 19 20:40:03 gateway2 pptpd[2776]: CTRL: I wrote 156 bytes to the client.
Mar 19 20:40:03 gateway2 pptpd[2776]: CTRL: Sent packet to client
Mar 19 20:40:04 gateway2 pptpd[2776]: CTRL: Received PPTP Control Message (type: 7)
Mar 19 20:40:04 gateway2 pptpd[2776]: CTRL: 0 min_bps, 152 max_bps, 32 window size
Mar 19 20:40:04 gateway2 pptpd[2776]: CTRL: Made a OUT CALL RPLY packet
Mar 19 20:40:04 gateway2 pptpd[2776]: CTRL: Starting call (launching pppd, opening GRE)
Mar 19 20:40:04 gateway2 pptpd[2776]: CTRL: pty_fd = 5
Mar 19 20:40:04 gateway2 pptpd[2776]: CTRL: tty_fd = 6
Mar 19 20:40:04 gateway2 pptpd[2776]: CTRL: I wrote 32 bytes to the client.
Mar 19 20:40:04 gateway2 pptpd[2776]: CTRL: Sent packet to client
Mar 19 20:40:04 gateway2 pptpd[2777]: CTRL (PPPD Launcher): Connection speed = 460800
Mar 19 20:40:04 gateway2 pptpd[2777]: CTRL (PPPD Launcher): local address = 10.74.16.253
Mar 19 20:40:04 gateway2 pptpd[2777]: CTRL (PPPD Launcher): remote address = 10.74.16.240
Mar 19 20:40:07 gateway2 pptpd[2776]: Error reading from pppd: Input/output error
Mar 19 20:40:07 gateway2 pptpd[2776]: CTRL: GRE read or PTY write failed (gre,pty)=(6,5)
Mar 19 20:40:07 gateway2 pptpd[2776]: CTRL: Client (my.client.ip.address)  control connection finished
Mar 19 20:40:07 gateway2 pptpd[2776]: CTRL: Exiting now
Mar 19 20:40:07 gateway2 pptpd[1550]: MGR: Reaped child 2776

and the client box say this when iI try to connect

[root@wombat ppp]# pptp-command start
ERROR!  Connection timed out.
[root@wombat ppp]#


any suggestions appreciated (cant use ipsec as there is nat-ing between the boxes

cheers

Mark

Bill Talcott

Re: pptp-linux
« Reply #1 on: March 19, 2003, 05:20:17 PM »
Mark wrote:
>
> Mar 19 20:40:07 gateway2 pptpd[2776]: CTRL: GRE read or PTY
> write failed (gre,pty)=(6,5)
>
>
> any suggestions appreciated (cant use ipsec as there is
> nat-ing between the boxes

It looks like GRE (protocol 47) is being blocked by a firewall...