Date: Tue, 21 Sep 2004 10:29:20 +0200 From: "madunix" <madunix@web.de> To: muc-lists-freebsd-isp@moderators.muc.de Subject: configure mpd Message-ID: <2ra3m2F177e3qU1@uni-berlin.de>
next in thread | raw e-mail | index | archive | help
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<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 ether 00:06:29:55:39:eb media: Ethernet autoselect (none) status: no carrier xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=b<RXCSUM,TXCSUM,VLAN_MTU> 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 <full-duplex>) 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2ra3m2F177e3qU1>