Koozali.org: home of the SME Server

problem with VPN

Devin Sain

problem with VPN
« on: May 08, 2001, 09:08:56 PM »
I just down loaded and installed e-smith 4.1.2.  I told the vpn to allow two users.
Problem number one is I can not connect to behind a MASQ server still, but I went ahead and used my modem and dialed out and tryed to connect.  When I do this I connect but I get disconnected right after connecting.  If anyone know how to solve most importantly the second problem, but help with both would be appreciated.

GL

Re: problem with VPN
« Reply #1 on: May 09, 2001, 04:39:43 AM »
Does your client computer have 128 bit encryption. I think e-smith will only connect with this level.

Devin

Re: problem with VPN
« Reply #2 on: May 09, 2001, 07:56:26 PM »
Yes it does.  I just updated it and I can connect to one of my e-smith machines, but I have 2 others that I cant.

Alejandro

Re: problem with VPN
« Reply #3 on: May 09, 2001, 08:07:39 PM »
Try again, and the check your var/log/messages file to see if there is a message with the reason of being disconnected,
The server accepts the encryption level but right after that you get disconnected, so you have to write down the message you receive at the client, and take a look to the records on the server,
hope it help
(sorry about my english)

Alejandro

gollem

Re: problem with VPN
« Reply #4 on: May 10, 2001, 03:27:47 AM »
OT, Alejandro, no need to make excuses for your english, it seems more than adequate to me.

Devin Sain

Re: problem with VPN
« Reply #5 on: May 11, 2001, 02:12:47 AM »
I went to /var/log/message and checked it out and this is the info I got dealing with the pptp below.   If some on could look at this and tell what is wrong I would greatly appreciate it.   This is a connection from to differnt computer try to connect to the e-smith both had the same problem.
Thanks
Devin



May 10 11:36:38 e-smith pptpd[2443]: MGR: Launching /usr/sbin/pptpctrl to handle client
May 10 11:36:38 e-smith pptpd[2443]: CTRL: local address = 192.168.1.1
May 10 11:36:38 e-smith pptpd[2443]: CTRL: remote address = 192.168.1.249
May 10 11:36:38 e-smith pptpd[2443]: CTRL: pppd speed = 460800
May 10 11:36:38 e-smith pptpd[2443]: CTRL: pppd options file = /etc/ppp/options.pptpd
May 10 11:36:38 e-smith pptpd[2443]: CTRL: Client 204.180.118.65 control connection started
May 10 11:36:38 e-smith pptpd[2443]: CTRL: Received PPTP Control Message (type: 1)
May 10 11:36:38 e-smith pptpd[2443]: CTRL: Made a START CTRL CONN RPLY packet
May 10 11:36:38 e-smith pptpd[2443]: CTRL: I wrote 156 bytes to the client.
May 10 11:36:38 e-smith pptpd[2443]: CTRL: Sent packet to client
May 10 11:36:38 e-smith pptpd[2443]: CTRL: Received PPTP Control Message (type: 7)
May 10 11:36:38 e-smith pptpd[2443]: CTRL: 0 min_bps, 0 max_bps, 32 window size
May 10 11:36:38 e-smith pptpd[2443]: CTRL: Made a OUT CALL RPLY packet
May 10 11:36:38 e-smith pptpd[2443]: CTRL: Starting call (launching pppd, opening GRE)
May 10 11:36:38 e-smith pptpd[2443]: CTRL: pty_fd = 5
May 10 11:36:38 e-smith pptpd[2443]: CTRL: tty_fd = 6
May 10 11:36:38 e-smith pptpd[2443]: CTRL: I wrote 32 bytes to the client.
May 10 11:36:38 e-smith pptpd[2443]: CTRL: Sent packet to client
May 10 11:36:38 e-smith pptpd[2444]: CTRL (PPPD Launcher): Connection speed = 460800
May 10 11:36:38 e-smith pptpd[2444]: CTRL (PPPD Launcher): local address = 192.168.1.1
May 10 11:36:38 e-smith pptpd[2444]: CTRL (PPPD Launcher): remote address = 192.168.1.249
May 10 11:36:38 e-smith kernel: CSLIP: code copyright 1989 Regents of the University of California
May 10 11:36:38 e-smith kernel: PPP: version 2.3.7 (demand dialling)
May 10 11:36:38 e-smith kernel: PPP line discipline registered.
May 10 11:36:38 e-smith kernel: registered device ppp0
May 10 11:36:38 e-smith pppd[2444]: pppd 2.4.0 started by root, uid 0
May 10 11:36:38 e-smith pppd[2444]: Using interface ppp0
May 10 11:36:38 e-smith pppd[2444]: Connect: ppp0 <--> /dev/pts/0
May 10 11:36:39 e-smith pptpd[2443]: Buffering out-of-order packet; got 1 after 4294967295
May 10 11:36:41 e-smith pptpd[2443]: Packet reorder timeout waiting for 0
May 10 11:36:41 e-smith pptpd[2443]: Buffering out-of-order packet; got 2 after 0
May 10 11:36:42 e-smith kernel: PPP MPPE compression module registered
May 10 11:36:42 e-smith pppd[2444]: MSCHAP-v2 peer authentication succeeded for devin
May 10 11:36:42 e-smith pppd[2444]: found interface eth0 for proxy arp
May 10 11:36:42 e-smith pppd[2444]: local  IP address 192.168.1.1
May 10 11:36:42 e-smith pppd[2444]: remote IP address 192.168.1.249
May 10 11:36:42 e-smith pppd[2444]: Connection terminated.
May 10 11:36:42 e-smith pppd[2444]: Connect time 0.1 minutes.
May 10 11:36:42 e-smith pppd[2444]: Sent 578 bytes, received 560 bytes.
May 10 11:36:43 e-smith e-smith[2473]: Processing event: ip-up.pptpd ppp0 /dev/pts/0 460800 192.168.1.1 192.168.1.249 pptpd
May 10 11:36:43 e-smith pppd[2444]: Exit.
May 10 11:36:43 e-smith pptpd[2443]: Error reading from pppd: Input/output error
May 10 11:36:43 e-smith pptpd[2443]: CTRL: GRE read or PTY write failed (gre,pty)=(6,5)
May 10 11:36:43 e-smith pptpd[2443]: CTRL: Client 204.180.118.65 control connection finished
May 10 11:36:43 e-smith pptpd[2443]: CTRL: Exiting now
May 10 11:36:43 e-smith pptpd[1921]: MGR: Reaped child 2443
May 10 11:36:53 e-smith pptpd[2481]: MGR: Launching /usr/sbin/pptpctrl to handle client
May 10 11:36:53 e-smith pptpd[2481]: CTRL: local address = 192.168.1.1
May 10 11:36:53 e-smith pptpd[2481]: CTRL: remote address = 192.168.1.250
May 10 11:36:53 e-smith pptpd[2481]: CTRL: pppd speed = 460800
May 10 11:36:53 e-smith pptpd[2481]: CTRL: pppd options file = /etc/ppp/options.pptpd
May 10 11:36:53 e-smith pptpd[2481]: CTRL: Client 204.180.118.65 control connection started
May 10 11:36:53 e-smith pptpd[2481]: CTRL: Received PPTP Control Message (type: 1)
May 10 11:36:53 e-smith pptpd[2481]: CTRL: Made a START CTRL CONN RPLY packet
May 10 11:36:53 e-smith pptpd[2481]: CTRL: I wrote 156 bytes to the client.
May 10 11:36:53 e-smith pptpd[2481]: CTRL: Sent packet to client
May 10 11:36:53 e-smith pptpd[2481]: CTRL: Received PPTP Control Message (type: 7)
May 10 11:36:53 e-smith pptpd[2481]: CTRL: 0 min_bps, 0 max_bps, 32 window size
May 10 11:36:53 e-smith pptpd[2481]: CTRL: Made a OUT CALL RPLY packet
May 10 11:36:53 e-smith pptpd[2481]: CTRL: Starting call (launching pppd, opening GRE)
May 10 11:36:53 e-smith pptpd[2481]: CTRL: pty_fd = 5
May 10 11:36:53 e-smith pptpd[2481]: CTRL: tty_fd = 6
May 10 11:36:53 e-smith pptpd[2481]: CTRL: I wrote 32 bytes to the client.
May 10 11:36:53 e-smith pptpd[2481]: CTRL: Sent packet to client
May 10 11:36:53 e-smith pptpd[2482]: CTRL (PPPD Launcher): Connection speed = 460800
May 10 11:36:53 e-smith pptpd[2482]: CTRL (PPPD Launcher): local address = 192.168.1.1
May 10 11:36:53 e-smith pptpd[2482]: CTRL (PPPD Launcher): remote address = 192.168.1.250
May 10 11:36:53 e-smith pppd[2482]: pppd 2.4.0 started by root, uid 0
May 10 11:36:53 e-smith pppd[2482]: Using interface ppp0
May 10 11:36:53 e-smith pppd[2482]: Connect: ppp0 <--> /dev/pts/0
May 10 11:36:54 e-smith pptpd[2481]: Buffering out-of-order packet; got 1 after 4294967295
May 10 11:36:57 e-smith pptpd[2481]: Packet reorder timeout waiting for 0
May 10 11:36:57 e-smith pptpd[2481]: Buffering out-of-order packet; got 2 after 0
May 10 11:36:57 e-smith pppd[2482]: MSCHAP-v2 peer authentication succeeded for devin
May 10 11:36:58 e-smith pppd[2482]: found interface eth0 for proxy arp
May 10 11:36:58 e-smith pppd[2482]: local  IP address 192.168.1.1
May 10 11:36:58 e-smith pppd[2482]: remote IP address 192.168.1.250
May 10 11:36:58 e-smith pppd[2482]: Connection terminated.
May 10 11:36:58 e-smith pppd[2482]: Connect time 0.1 minutes.
May 10 11:36:58 e-smith pppd[2482]: Sent 634 bytes, received 560 bytes.
May 10 11:36:58 e-smith e-smith[2497]: Processing event: ip-up.pptpd ppp0 /dev/pts/0 460800 192.168.1.1 192.168.1.250 pptpd
May 10 11:36:58 e-smith pppd[2482]: Exit.
May 10 11:36:58 e-smith pptpd[2481]: Error reading from pppd: Input/output error
May 10 11:36:58 e-smith pptpd[2481]: CTRL: GRE read or PTY write failed (gre,pty)=(6,5)
May 10 11:36:58 e-smith pptpd[2481]: CTRL: Client 204.180.118.65 control connection finished
May 10 11:36:58 e-smith pptpd[2481]: CTRL: Exiting now
May 10 11:36:58 e-smith pptpd[1921]: MGR: Reaped child 2481
May 10 11:48:16 e-smith pptpd[2508]: MGR: Launching /usr/sbin/pptpctrl to handle client
May 10 11:48:16 e-smith pptpd[2508]: CTRL: local address = 192.168.1.1
May 10 11:48:16 e-smith pptpd[2508]: CTRL: remote address = 192.168.1.249
May 10 11:48:16 e-smith pptpd[2508]: CTRL: pppd speed = 460800
May 10 11:48:16 e-smith pptpd[2508]: CTRL: pppd options file = /etc/ppp/options.pptpd
May 10 11:48:16 e-smith pptpd[2508]: CTRL: Client 172.148.169.14 control connection started
May 10 11:48:16 e-smith pptpd[2508]: CTRL: Received PPTP Control Message (type: 1)
May 10 11:48:17 e-smith pptpd[2508]: CTRL: Made a START CTRL CONN RPLY packet
May 10 11:48:17 e-smith pptpd[2508]: CTRL: I wrote 156 bytes to the client.
May 10 11:48:17 e-smith pptpd[2508]: CTRL: Sent packet to client
May 10 11:48:17 e-smith pptpd[2508]: CTRL: Received PPTP Control Message (type: 7)
May 10 11:48:17 e-smith pptpd[2508]: CTRL: 0 min_bps, 0 max_bps, 32 window size
May 10 11:48:17 e-smith pptpd[2508]: CTRL: Made a OUT CALL RPLY packet
May 10 11:48:17 e-smith pptpd[2508]: CTRL: Starting call (launching pppd, opening GRE)
May 10 11:48:17 e-smith pptpd[2508]: CTRL: pty_fd = 5
May 10 11:48:17 e-smith pptpd[2508]: CTRL: tty_fd = 6
May 10 11:48:17 e-smith pptpd[2508]: CTRL: I wrote 32 bytes to the client.
May 10 11:48:17 e-smith pptpd[2508]: CTRL: Sent packet to client
May 10 11:48:17 e-smith pptpd[2509]: CTRL (PPPD Launcher): Connection speed = 460800
May 10 11:48:17 e-smith pptpd[2509]: CTRL (PPPD Launcher): local address = 192.168.1.1
May 10 11:48:17 e-smith pptpd[2509]: CTRL (PPPD Launcher): remote address = 192.168.1.249
May 10 11:48:17 e-smith pppd[2509]: pppd 2.4.0 started by root, uid 0
May 10 11:48:17 e-smith pppd[2509]: Using interface ppp0
May 10 11:48:17 e-smith pppd[2509]: Connect: ppp0 <--> /dev/pts/0
May 10 11:48:17 e-smith pptpd[2508]: Buffering out-of-order packet; got 1 after 4294967295
May 10 11:48:20 e-smith pptpd[2508]: Packet reorder timeout waiting for 0
May 10 11:48:20 e-smith pptpd[2508]: Buffering out-of-order packet; got 2 after 0
May 10 11:48:21 e-smith pppd[2509]: No CHAP secret found for authenticating Name
May 10 11:48:21 e-smith pppd[2509]: MSCHAP-v2 peer authentication failed for remote host Name
May 10 11:48:21 e-smith pppd[2509]: Connection terminated.
May 10 11:48:21 e-smith pppd[2509]: Exit.
May 10 11:48:21 e-smith pptpd[2508]: Error reading from pppd: Input/output error
May 10 11:48:21 e-smith pptpd[2508]: CTRL: GRE read or PTY write failed (gre,pty)=(6,5)
May 10 11:48:21 e-smith pptpd[2508]: CTRL: Client 172.148.169.14 control connection finished
May 10 11:48:21 e-smith pptpd[2508]: CTRL: Exiting now
May 10 11:48:21 e-smith pptpd[1921]: MGR: Reaped child 2508
May 10 11:48:28 e-smith pptpd[2510]: MGR: Launching /usr/sbin/pptpctrl to handle client
May 10 11:48:28 e-smith pptpd[2510]: CTRL: local address = 192.168.1.1
May 10 11:48:28 e-smith pptpd[2510]: CTRL: remote address = 192.168.1.250
May 10 11:48:28 e-smith pptpd[2510]: CTRL: pppd speed = 460800
May 10 11:48:28 e-smith pptpd[2510]: CTRL: pppd options file = /etc/ppp/options.pptpd
May 10 11:48:28 e-smith pptpd[2510]: CTRL: Client 172.148.169.14 control connection started
May 10 11:48:28 e-smith pptpd[2510]: CTRL: Received PPTP Control Message (type: 1)
May 10 11:48:28 e-smith pptpd[2510]: CTRL: Made a START CTRL CONN RPLY packet
May 10 11:48:28 e-smith pptpd[2510]: CTRL: I wrote 156 bytes to the client.
May 10 11:48:28 e-smith pptpd[2510]: CTRL: Sent packet to client
May 10 11:48:28 e-smith pptpd[2510]: CTRL: Received PPTP Control Message (type: 7)
May 10 11:48:28 e-smith pptpd[2510]: CTRL: 0 min_bps, 0 max_bps, 32 window size
May 10 11:48:28 e-smith pptpd[2510]: CTRL: Made a OUT CALL RPLY packet
May 10 11:48:28 e-smith pptpd[2510]: CTRL: Starting call (launching pppd, opening GRE)
May 10 11:48:28 e-smith pptpd[2510]: CTRL: pty_fd = 5
May 10 11:48:28 e-smith pptpd[2510]: CTRL: tty_fd = 6
May 10 11:48:28 e-smith pptpd[2510]: CTRL: I wrote 32 bytes to the client.
May 10 11:48:28 e-smith pptpd[2510]: CTRL: Sent packet to client
May 10 11:48:28 e-smith pptpd[2511]: CTRL (PPPD Launcher): Connection speed = 460800
May 10 11:48:28 e-smith pptpd[2511]: CTRL (PPPD Launcher): local address = 192.168.1.1
May 10 11:48:28 e-smith pptpd[2511]: CTRL (PPPD Launcher): remote address = 192.168.1.250
May 10 11:48:28 e-smith pppd[2511]: pppd 2.4.0 started by root, uid 0
May 10 11:48:28 e-smith pppd[2511]: Using interface ppp0
May 10 11:48:28 e-smith pppd[2511]: Connect: ppp0 <--> /dev/pts/0
May 10 11:48:29 e-smith pptpd[2510]: Buffering out-of-order packet; got 1 after 4294967295
May 10 11:48:32 e-smith pptpd[2510]: Packet reorder timeout waiting for 0
May 10 11:48:32 e-smith pptpd[2510]: Buffering out-of-order packet; got 2 after 0
May 10 11:48:32 e-smith pppd[2511]: MSCHAP-v2 peer authentication succeeded for devin
May 10 11:48:33 e-smith pppd[2511]: found interface eth0 for proxy arp
May 10 11:48:33 e-smith pppd[2511]: local  IP address 192.168.1.1
May 10 11:48:33 e-smith pppd[2511]: remote IP address 192.168.1.250
May 10 11:48:33 e-smith e-smith[2526]: Processing event: ip-up.pptpd ppp0 /dev/pts/0 460800 192.168.1.1 192.168.1.250 pptpd
May 10 11:48:33 e-smith pppd[2511]: Connection terminated.
May 10 11:48:33 e-smith pppd[2511]: Connect time 0.1 minutes.
May 10 11:48:33 e-smith pppd[2511]: Sent 538 bytes, received 514 bytes.
May 10 11:48:33 e-smith pppd[2511]: Exit.
May 10 11:48:33 e-smith pptpd[2510]: Error reading from pppd: Input/output error
May 10 11:48:33 e-smith pptpd[2510]: CTRL: GRE read or PTY write failed (gre,pty)=(6,5)
May 10 11:48:33 e-smith pptpd[2510]: CTRL: Client 172.148.169.14 control connection finished
May 10 11:48:33 e-smith pptpd[2510]: CTRL: Exiting now
May 10 11:48:33 e-smith pptpd[1921]: MGR: Reaped child 2510
May 10 12:00:00 e-smith kernel: PPP MPPE compression module unregistered
May 10 12:00:00 e-smith kernel: PPP: ppp line discipline successfully unregistered

Alejandro

Re: problem with VPN
« Reply #6 on: May 11, 2001, 02:37:58 AM »
Devin:
I'm really what you would say a newbie....
 but it seems to me that a problem occurs just after you are assigned an IP number, (ip-up process script)
Maybe is a configuration problem of tcp ip protocol of ***client machine*** (probably a windows one)
Your authentification process looks good, there is a few packets reaching the server out of order, but I dont really know if it could be the problem, but anyway your credentials are valid to start up a session in the server.
I would double check the config of the client,
it all seems to be that ip number assigned to your vpn adapter (software adapter .. )  is rejected.
try to look the way your virtual adapter gets it's address.
if you have a fixed one or your adapter isn't configured to receive an ip addres from the e-smith dhcp server , it could be the reason of the "connection terminated" of the ip-up process script.
I have no more clues on it
please correct me if I'm giving a wrong idea.
(in spanish (argentine) we would say... "peeing out of the hole"..
;-)
Alejandro

Devin Sain

Re: problem with VPN
« Reply #7 on: May 14, 2001, 08:14:06 PM »
I think I am going to go crazy.  Have installed 4.1.1 on a machine 4.1.2 on two machines, and on none of them does pptp work.  I work tried three differnet work station all the the newest dialup patch for 128 bit encription.  I looked at the /var/log/messages to try and find the problem.  I changed what ip the pptp client get.  I cant believe that some one has actually got it to work because it seem to me to be a impossible thing.
major fustration,
Devin

Tanveer

Re: problem with VPN
« Reply #8 on: May 28, 2001, 05:28:05 PM »
I am also getting the same error as you got , here is the message file details, please mail me the solution as early as possible.
Regards
Tanveer

[root@firewall log]# more messages
May 28 13:09:05 firewall pptpd[8998]: MGR: Launching /usr/sbin/pptpctrl to han
dle client
May 28 13:09:05 firewall pptpd[8998]: CTRL: local address = 172.16.2.81
May 28 13:09:05 firewall pptpd[8998]: CTRL: remote address = 172.16.2.249
May 28 13:09:05 firewall pptpd[8998]: CTRL: pppd speed = 460800
May 28 13:09:05 firewall pptpd[8998]: CTRL: pppd options file = /etc/ppp/optio
ns.pptpd
May 28 13:09:05 firewall pptpd[8998]: CTRL: Client 203.200.7.113 control conne
ction started
May 28 13:09:05 firewall pptpd[8998]: CTRL: Received PPTP Control Message (typ
e: 1)
May 28 13:09:05 firewall pptpd[8998]: CTRL: Made a START CTRL CONN RPLY packet
May 28 13:09:05 firewall pptpd[8998]: CTRL: I wrote 156 bytes to the client.
May 28 13:09:05 firewall pptpd[8998]: CTRL: Sent packet to client
May 28 13:09:06 firewall pptpd[8998]: CTRL: Received PPTP Control Message (typ
e: 7)
May 28 13:09:06 firewall pptpd[8998]: CTRL: 0 min_bps, 0 max_bps, 32 window si
ze
May 28 13:09:06 firewall pptpd[8998]: CTRL: Made a OUT CALL RPLY packet
May 28 13:09:06 firewall pptpd[8998]: CTRL: Starting call (launching pppd, ope
ning GRE)
May 28 13:09:06 firewall pptpd[8998]: CTRL: pty_fd = 5
May 28 13:09:06 firewall pptpd[8998]: CTRL: tty_fd = 6
May 28 13:09:06 firewall pptpd[8999]: CTRL (PPPD Launcher): Connection speed =
 460800
May 28 13:09:06 firewall pptpd[8999]: CTRL (PPPD Launcher): local address = 17
2.16.2.81
May 28 13:09:06 firewall pptpd[8999]: CTRL (PPPD Launcher): remote address = 1
72.16.2.249
May 28 13:09:06 firewall pptpd[8998]: CTRL: I wrote 32 bytes to the client.
May 28 13:09:06 firewall pptpd[8998]: CTRL: Sent packet to client
May 28 13:09:06 firewall kernel: CSLIP: code copyright 1989 Regents of the Uni
versity of California
May 28 13:09:06 firewall kernel: PPP: version 2.3.7 (demand dialling)
May 28 13:09:06 firewall kernel: PPP line discipline registered.
May 28 13:09:06 firewall kernel: registered device ppp0
May 28 13:09:06 firewall pppd[8999]: pppd 2.4.0 started by root, uid 0
May 28 13:09:06 firewall pppd[8999]: Using interface ppp0
May 28 13:09:06 firewall pppd[8999]: Connect: ppp0 <--> /dev/pts/0
May 28 13:09:07 firewall pptpd[8998]: Buffering out-of-order packet; got 1 aft
er 4294967295
May 28 13:09:07 firewall pptpd[8998]: Packet reorder timeout waiting for 0
May 28 13:09:07 firewall pptpd[8998]: Buffering out-of-order packet; got 2 aft
er 0
May 28 13:09:09 firewall pppd[8999]: No CHAP secret found for authenticating f
tpnt
May 28 13:09:09 firewall pppd[8999]: CHAP peer authentication failed for remot
e host ftpnt
May 28 13:09:10 firewall pppd[8999]: Connection terminated.
May 28 13:09:10 firewall pppd[8999]: Exit.
May 28 13:09:10 firewall pptpd[8998]: Error reading from pppd: Input/output er
ror
May 28 13:09:10 firewall pptpd[8998]: CTRL: GRE read or PTY write failed (gre,
pty)=(6,5)
May 28 13:09:10 firewall pptpd[8998]: CTRL: Client 203.200.7.113 control conne
ction finished
May 28 13:09:10 firewall pptpd[8998]: CTRL: Exiting now
May 28 13:09:10 firewall pptpd[1298]: MGR: Reaped child 8998
May 28 13:20:00 firewall kernel: PPP: ppp line discipline successfully unregistered