From owner-freebsd-isp@FreeBSD.ORG Tue Sep 21 07:31:24 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9197716A4CE for ; Tue, 21 Sep 2004 07:31:24 +0000 (GMT) Received: from marvin.muc.de (marvin.muc.de [193.149.48.2]) by mx1.FreeBSD.org (Postfix) with SMTP id 8FA3543D39 for ; Tue, 21 Sep 2004 07:31:23 +0000 (GMT) (envelope-from mod-submit@uni-berlin.de) Received: (qmail 41232 invoked by alias); 21 Sep 2004 07:31:22 -0000 Delivered-To: mods-muc-lists-freebsd-isp@moderators.muc.de Received: (qmail 41225 invoked from network); 21 Sep 2004 07:31:22 -0000 Received: from mail.fu-berlin.de (130.133.1.2) by marvin.muc.de with SMTP; 21 Sep 2004 07:31:22 -0000 Received: by Mail.FU-Berlin.DE (Exim 4.42) from curry.zedat.fu-berlin.de ([160.45.10.36]) for muc-lists-freebsd-isp@moderators.muc.de with esmtp id <1C9f7R-0007JM-PR>; Tue, 21 Sep 2004 09:31:21 +0200 Received: by Curry.ZEDAT.FU-Berlin.DE (Smail3.2.0.98) from news.uni-berlin.de with bsmtp id ; Tue, 21 Sep 2004 09:31:21 +0200 (MEST) To: muc-lists-freebsd-isp@moderators.muc.de Path: not-for-mail From: "madunix" Newsgroups: muc.lists.freebsd.isp Date: Tue, 21 Sep 2004 10:29:20 +0200 Lines: 95 Message-ID: <2ra3m2F177e3qU1@uni-berlin.de> X-Orig-X-Trace: news.uni-berlin.de pGEcGZnBWFQXrjiJfGSUGgPbhmj1yU1LgKh+x2nAZDvbRC1qkH X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Mailman-Approved-At: Tue, 21 Sep 2004 11:58:33 +0000 Subject: configure mpd X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Sep 2004 07:31:24 -0000 I want to use mpd to build VPN links over the internet to Windows2000 boxes, I installed the 'mpd' system from ports/net/mpd. Then created the following files in /usr/local/etc/mpd/. mpd.conf mpd.links mpd.secret ----------mpd.conf---- default: load pptp0 # Load the pptp session load pptp1 pptp0: new -i ng0 pptp0 pptp0 #Create netgraph device set iface disable on-demand #set iface enable proxy-arp set bundle disable multilink set link yes acfcomp protocomp set link no pap chap set link enable chap #CHAP authentication set link keep-alive 60 180 set ipcp yes vjcomp set ipcp ranges 10.5.1.11/16 0.0.0.0/0 #IP range for connection #set ipcp dns 10.5.1.11 #DNS Server address #set ipcp nbns 10.5.1.11 #NetBIOS Server address #set ipcp ranges 0.0.0.0/0 0.0.0.0/0 set bundle enable compression #Compression and encryption set ccp yes mppc #set ccp yes mpp-e40 set ccp no mpp-e40 set ccp yes mpp-e128 set ccp yes mpp-stateless set bundle yes crypt-reqd ---------mpd.links------------ pptp0: set link type pptp #set pptp self X.Y.Z.W set pptp self 10.5.1.11 set pptp enable incoming set pptp disable originate ----------mpd.secret----- #fred "fred-pw" #joe "foobar" 192.168.1.1 #bob "\x34\"foo\n" 192.168.1.10/24 #sal "yipee" 192.168.1.254 vpn "vpn" * The FreeBSD server: sdcftp# uname -a FreeBSD sdcftp.go.com.jo 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Sun Jan 11 04:21:45 GMT 2004 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 ifconfig -a (NIC with PUBLIC IP and PRIVATE IP) pcn0: flags=8802 mtu 1500 ether 00:06:29:55:39:eb media: Ethernet autoselect (none) status: no carrier xl0: flags=8843 mtu 1500 options=b inet 10.5.1.11 netmask 0xffff0000 broadcast 10.5.255.255 inet6 fe80::201:2ff:fe75:93cf%xl0 prefixlen 64 scopeid 0x2 inet X.Y.Z.W netmask 0xfffffff0 broadcast 194.165.152.15 ether 00:01:02:75:93:cf media: Ethernet autoselect (100baseTX ) status: active when I run sdcftp# /usr/local/sbin/mpd Multi-link PPP for FreeBSD, by Archie L. Cobbs. Based on iij-ppp, by Toshiharu OHNO. mpd: pid 87373, version 3.18 (root@sdcftp.go.com.jo 17:51 20-Sep-2004) [:] from Client side it gave error VPN connection terminated locally by client Failed to establish coonection .... from the client side i am usinf Cisco VPN client Ver. 4.0.1 for Windows Any input would be really apprecaited.