From owner-freebsd-questions Mon Jul 8 2:51: 7 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8A2237B400 for ; Mon, 8 Jul 2002 02:51:03 -0700 (PDT) Received: from mx2.mail.ru (mx2.mail.ru [194.67.57.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E84143E09 for ; Mon, 8 Jul 2002 02:51:02 -0700 (PDT) (envelope-from s_volzhan@mail.ru) Received: from [217.106.204.245] (helo=217.106.204.245) by mx2.mail.ru with esmtp (Exim SMTP.2) id 17RVAa-000F6q-00 for freebsd-questions@FreeBSD.ORG; Mon, 08 Jul 2002 13:51:01 +0400 Date: Mon, 8 Jul 2002 13:50:39 +0400 From: Volzhan X-Mailer: The Bat! (v1.60m) Personal Reply-To: Volzhan X-Priority: 3 (Normal) Message-ID: <891696126.20020708135039@mail.ru> Disposition-Notification-To: s_volzhan@mail.ru To: freebsd-questions@FreeBSD.ORG Subject: VPN problem... MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all! I have such a problem with VPN-client based on pptpclient: Our server based on Linux Red Hat has DHCP service for LAN. After installing the FreeBSD on PC, I receive IP - 192.168.234.12. to go away from .234.0 subnet, to receive real inet IP, and to go throw our gateway I must autorize on VPN server, IP - 192.168.234.1. It has Chap encription Version 2. So I install pptpclient-1.0.3 from package, configure ppp.conf, and create file ppp.secret. But when I'm trying to start autorization on VPN server, I receive rejection of access. My netadmin can't help me, because he doesn`t know FreeBSD, just Linux and M$. FreeBSD is setting at my ad0s3 slice, but at ad0s1 I've M$ win98 with LAN VPN support. And I have no any problem with inet in M$. Here are my configurations: uname -a> FreeBSD sv 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31:56 GMT 2002 ifconfig > rl0: flags=8843 mtu 1500 inet6 fe80::2d0:4cff:fe39:19b%rl0 prefixlen 64 scopeid 0x1 inet 192.168.234.12 netmask 0xffffff00 broadcast 192.168.234.255 ether 00:d0:4c:39:01:9b media: Ethernet autoselect (100baseTX ) status: active lp0: flags=8810 mtu 1500 lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 ppp0: flags=8010 mtu 1500 sl0: flags=c010 mtu 552 faith0: flags=8002 mtu 1500 tun0: flags=8010 mtu 1500 inet6 fe80::2d0:4cff:fe39:19b%tun0 prefixlen 64 scopeid 0x7 ppp.conf> VPN: enable chap # enable MSCHAPv2 - I tryed with these strings, but it doesn't works. # accept MSCHAPv2 set authname Authname set authkey Authkey set timeout 0 set ifaddr 0 0 add 192.168.12.0/24 HISADDR alias enable yes ppp-secret> #Authname Authkey XXXX YYYY ppp.log> Jul 8 13:19:27 sv ppp[329]: Phase: Using interface: tun0 Jul 8 13:19:27 sv ppp[329]: Phase: deflink: Created in closed state Jul 8 13:19:27 sv ppp[329]: Warning: Usage: add dest mask gateway Jul 8 13:19:27 sv ppp[329]: Warning: The alias command is deprecated Jul 8 13:19:27 sv ppp[329]: Phase: PPP Started (direct mode). Jul 8 13:19:28 sv ppp[329]: Phase: bundle: Establish Jul 8 13:19:28 sv ppp[329]: Phase: deflink: closed -> opening Jul 8 13:19:28 sv ppp[329]: Phase: deflink: Connected! Jul 8 13:19:28 sv ppp[329]: Phase: deflink: opening -> carrier Jul 8 13:19:29 sv ppp[329]: Phase: deflink: carrier -> lcp Jul 8 13:19:33 sv ppp[329]: Phase: deflink: Too many LCP REQs sent - abandoning negotiation Jul 8 13:19:33 sv ppp[329]: Phase: deflink: Disconnected! Jul 8 13:19:33 sv ppp[329]: Phase: deflink: Connect time: 5 secs: 413 octets in, 844 octets out Jul 8 13:19:33 sv ppp[329]: Phase: deflink: : 16 packets in, 17 packets out Jul 8 13:19:33 sv ppp[329]: Phase: total 251 bytes/sec, peak 23 bytes/sec on Mon Jul 8 13:19:33 2002 Jul 8 13:19:33 sv ppp[329]: Phase: deflink: lcp -> closed Jul 8 13:19:33 sv ppp[329]: Phase: bundle: Dead Jul 8 13:19:33 sv ppp[329]: Phase: PPP Terminated (normal). command line> /usr/local/sbin/pptp 192.168.234.1 VPN If you can, please Help me! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message