From owner-freebsd-questions@FreeBSD.ORG Fri Jan 5 00:19:27 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5C60216A40F for ; Fri, 5 Jan 2007 00:19:27 +0000 (UTC) (envelope-from clicketyclicky@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.238]) by mx1.freebsd.org (Postfix) with ESMTP id 25BB513C45A for ; Fri, 5 Jan 2007 00:19:27 +0000 (UTC) (envelope-from clicketyclicky@gmail.com) Received: by nz-out-0506.google.com with SMTP id i11so3072015nzh for ; Thu, 04 Jan 2007 16:19:26 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=GnGovXPdJhFqob8IHJMcKdXiOB3cs7aiyvStDoskR/oBoxjZs68p1/5ku0FI11Oit5Fpj8crb17ORCvQ40Vyg9cJQLWu1QefNqRwmfm0bVc+n1HT3+7dnEIcTyd3aU2JPD4w1E9poKkRac8DCesp7+Hmg5XL9R8Akf9sHRdbSP0= Received: by 10.65.43.5 with SMTP id v5mr286374qbj.1167954784202; Thu, 04 Jan 2007 15:53:04 -0800 (PST) Received: by 10.65.239.12 with HTTP; Thu, 4 Jan 2007 15:53:04 -0800 (PST) Message-ID: <49f513c40701041553je932c4dg248a9846629e1b5e@mail.gmail.com> Date: Fri, 5 Jan 2007 01:53:04 +0200 From: Clickety To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: pptpclient vpn problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2007 00:19:27 -0000 Hello! I have a problem setting up VPN connection to my workplace. I followed this tutorial http://www.freebsddiary.org/pptp.php When i start pptp client it looks like the connection is created. I get an ip address on tun0. Routes are added to the routing table and everything seems fine. But when i try to connect/ping to any server through the vpn, the connection closes. This vpn connection works from my XP box with no problems. /etc/ppp/ppp.conf WORK: set authname myusername set authkey mypass set timeout 0 set ifaddr 0 0 add 192.168.100.0/24 HISADDR alias enable yes disable ipv6cp /var/log/ppp.log Jan 4 22:49:33 bsd ppp[7376]: Phase: Using interface: tun0 Jan 4 22:49:33 bsd ppp[7376]: Phase: deflink: Created in closed state Jan 4 22:49:33 bsd ppp[7376]: Warning: The alias command is deprecated Jan 4 22:49:33 bsd ppp[7376]: Phase: PPP Started (direct mode). Jan 4 22:49:33 bsd ppp[7376]: Phase: bundle: Establish Jan 4 22:49:33 bsd ppp[7376]: Phase: deflink: closed -> opening Jan 4 22:49:33 bsd ppp[7376]: Phase: deflink: Connected! Jan 4 22:49:33 bsd ppp[7376]: Phase: deflink: opening -> carrier Jan 4 22:49:34 bsd ppp[7376]: Phase: deflink: carrier -> lcp Jan 4 22:49:36 bsd ppp[7376]: Phase: bundle: Authenticate Jan 4 22:49:36 bsd ppp[7376]: Phase: deflink: his = CHAP 0x81, mine = none Jan 4 22:49:36 bsd ppp[7376]: Phase: Chap Input: CHALLENGE (16 bytes from gw) Jan 4 22:49:36 bsd ppp[7376]: Phase: Chap Output: RESPONSE (user) Jan 4 22:49:37 bsd ppp[7376]: Phase: Chap Input: SUCCESS (S=F35FEFF020584E1B747EC208F7B6BF59148D5CBF) Jan 4 22:49:37 bsd ppp[7376]: Phase: deflink: lcp -> open Jan 4 22:49:37 bsd ppp[7376]: Phase: bundle: Network Jan 4 22:49:44 bsd ppp[7376]: Phase: deflink: open -> lcp Jan 4 22:49:44 bsd ppp[7376]: Phase: bundle: Terminate Jan 4 22:49:44 bsd ppp[7376]: Phase: Signal 15, terminate. Jan 4 22:49:44 bsd ppp[7376]: Phase: Signal 15, terminate. Jan 4 22:49:47 bsd ppp[7376]: Phase: deflink: Disconnected! Jan 4 22:49:47 bsd ppp[7376]: Phase: deflink: Connect time: 14 secs: 584 octets in, 776 octets out Jan 4 22:49:47 bsd ppp[7376]: Phase: deflink: 15 packets in, 17 packets out Jan 4 22:49:47 bsd ppp[7376]: Phase: total 97 bytes/sec, peak 202 bytes/sec on Thu Jan 4 22:49:38 2007 Jan 4 22:49:47 bsd ppp[7376]: Phase: deflink: lcp -> closed Jan 4 22:49:47 bsd ppp[7376]: Phase: bundle: Dead Jan 4 22:49:47 bsd ppp[7376]: Phase: PPP Terminated (normal). /var/log/messages Jan 4 22:49:31 bsd pptp[7376]: anon log[main:pptp.c:267]: The synchronous pptp option is NOT activated Jan 4 22:49:32 bsd pptp[7379]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request' Jan 4 22:49:32 bsd pptp[7379]: anon log[ctrlp_disp:pptp_ctrl.c:740]: Received Start Control Connection Reply Jan 4 22:49:32 bsd pptp[7379]: anon log[ctrlp_disp:pptp_ctrl.c:774]: Client connection established. Jan 4 22:49:33 bsd pptp[7379]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request' Jan 4 22:49:33 bsd pptp[7379]: anon log[ctrlp_disp:pptp_ctrl.c:859]: Received Outgoing Call Reply. Jan 4 22:49:33 bsd pptp[7379]: anon log[ctrlp_disp:pptp_ctrl.c:898]: Outgoing call established (call ID 0, peer's call ID 140). Jan 4 22:49:33 bsd ppp[7376]: Warning: The alias command is deprecated Jan 4 22:49:35 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]: accepting packet 0 Jan 4 22:49:35 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]: accepting packet 1 Jan 4 22:49:36 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]: accepting packet 2 Jan 4 22:49:36 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]: accepting packet 3 Jan 4 22:49:36 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]: accepting packet 4 Jan 4 22:49:37 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]: accepting packet 5 Jan 4 22:49:37 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]: accepting packet 6 Jan 4 22:49:37 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]: accepting packet 7 Jan 4 22:49:37 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]: accepting packet 8 Jan 4 22:49:37 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]: accepting packet 9 Jan 4 22:49:37 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]: accepting packet 10 Jan 4 22:49:38 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]: accepting packet 11 Jan 4 22:49:38 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]: accepting packet 12 Jan 4 22:49:38 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]: accepting packet 13 Jan 4 22:49:44 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]: accepting packet 14 Jan 4 22:49:44 bsd pptp[7380]: anon log[decaps_gre:pptp_gre.c:388]: accepting packet 15 Jan 4 22:49:44 bsd pptp[7379]: anon log[pptp_read_some:pptp_ctrl.c:545]: read returned zero, peer has closed Jan 4 22:49:44 bsd pptp[7379]: anon log[callmgr_main:pptp_callmgr.c:255]: Closing connection (shutdown) Jan 4 22:49:44 bsd pptp[7379]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request' Jan 4 22:49:44 bsd pptp[7379]: anon log[pptp_read_some:pptp_ctrl.c:545]: read returned zero, peer has closed Jan 4 22:49:44 bsd pptp[7379]: anon log[call_callback:pptp_callmgr.c:78]: Closing connection (call state) Jan 4 22:49:47 bsd pptp[7380]: anon warn[decaps_hdlc:pptp_gre.c:197]: short read (0): Invalid argument