Koozali.org: home of the SME Server

6.0 final VPN not working ? please help.

Damien Ryan

6.0 final VPN not working ? please help.
« on: December 28, 2003, 11:57:37 AM »
Hi All,

I've installed a new server running 6.0 final. All works except the when trying to VPN into the server. The server is connected to ADSL through my reqular provider. I'm connecting from my  winXP pro computer. My winxp pro computer has no trouble connecting to other e-smith 5.5 servers.

I get the dreaded 619 error.

I looked in the log file on the server and found this :
Dec 28 21:41:06 noah pptpd[2728]: GRE: xmit failed from decaps_hdlc: Operation not permitted
Dec 28 21:41:06 noah pptpd[2728]: CTRL: PTY read or GRE write failed (pty,gre)=(5,6)

I'm guessing that this is the reason it's not working, but I don't know why ?

Does VPN work in version 6 ?

help

thanks

Damien



Full log file below.

Dec 28 21:41:05 noah pptpd[2728]: MGR: Launching /usr/sbin/pptpctrl to handle client
Dec 28 21:41:05 noah pptpd[2728]: CTRL: local address = 192.168.33.1
Dec 28 21:41:05 noah pptpd[2728]: CTRL: remote address = 192.168.33.245
Dec 28 21:41:05 noah pptpd[2728]: CTRL: pppd speed = 460800
Dec 28 21:41:05 noah pptpd[2728]: CTRL: pppd options file = /etc/ppp/options.pptpd
Dec 28 21:41:05 noah pptpd[2728]: CTRL: Client 211.28.229.148 control connection started
Dec 28 21:41:05 noah pptpd[2728]: CTRL: Received PPTP Control Message (type: 1)
Dec 28 21:41:05 noah pptpd[2728]: CTRL: Made a START CTRL CONN RPLY packet
Dec 28 21:41:05 noah pptpd[2728]: CTRL: I wrote 156 bytes to the client.
Dec 28 21:41:05 noah pptpd[2728]: CTRL: Sent packet to client
Dec 28 21:41:06 noah pptpd[2728]: CTRL: Received PPTP Control Message (type: 7)
Dec 28 21:41:06 noah pptpd[2728]: CTRL: Set parameters to 1525 maxbps, 64 window size
Dec 28 21:41:06 noah pptpd[2728]: CTRL: Made a OUT CALL RPLY packet
Dec 28 21:41:06 noah pptpd[2728]: CTRL: Starting call (launching pppd, opening GRE)
Dec 28 21:41:06 noah pptpd[2728]: CTRL: pty_fd = 5
Dec 28 21:41:06 noah pptpd[2728]: CTRL: tty_fd = 6
Dec 28 21:41:06 noah pptpd[2728]: CTRL: I wrote 32 bytes to the client.
Dec 28 21:41:06 noah pptpd[2728]: CTRL: Sent packet to client
Dec 28 21:41:06 noah pptpd[2729]: CTRL (PPPD Launcher): Connection speed = 460800
Dec 28 21:41:06 noah pptpd[2729]: CTRL (PPPD Launcher): local address = 192.168.33.1
Dec 28 21:41:06 noah pptpd[2729]: CTRL (PPPD Launcher): remote address = 192.168.33.245
Dec 28 21:41:06 noah pppd[2729]: pppd 2.4.2b1 started by root, uid 0
Dec 28 21:41:06 noah pppd[2729]: Starting negotiation on /dev/pts/1
Dec 28 21:41:06 noah pptpd[2728]: GRE: xmit failed from decaps_hdlc: Operation not permitted
Dec 28 21:41:06 noah pptpd[2728]: CTRL: PTY read or GRE write failed (pty,gre)=(5,6)
Dec 28 21:41:06 noah pptpd[2728]: CTRL: Client 211.28.229.148 control connection finished
Dec 28 21:41:06 noah pppd[2729]: Modem hangup
Dec 28 21:41:06 noah pptpd[2728]: CTRL: Exiting now
Dec 28 21:41:06 noah pppd[2729]: Connection terminated.
Dec 28 21:41:06 noah pptpd[2629]: MGR: Reaped child 2728
Dec 28 21:41:06 noah pppd[2729]: Exit.

Ray Mitchell

Re: 6.0 final VPN not working ? please help.
« Reply #1 on: December 28, 2003, 02:26:31 PM »
Have you enabled VPN access for each user account requiring VPN access ?
It is now set in server manager, user panel on a per user basis.
By default, users cannot get VPN access until enabled in v6, whereas previously  (=<5.6) all users had VPN access by default.
Let us know if this fixes your problem.

Regs
Ray

Damien Ryan

718 error now, but I need to do more investigation.
« Reply #2 on: December 28, 2003, 03:58:22 PM »
Sorry for previous post. 619 error gone away.

Now getting 718 error. Will check the log files in the next couple of days.

Damien

Damien Ryan

Re: 6.0 final VPN not working ? please help.
« Reply #3 on: December 28, 2003, 03:59:40 PM »
Hi Ray,

Yes had VPN activated.
(It did trick me for a while though)

Damien