From owner-freebsd-questions@FreeBSD.ORG Fri Jul 11 02:28:57 2003 Return-Path: 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 5F5D437B401 for ; Fri, 11 Jul 2003 02:28:56 -0700 (PDT) Received: from deepground1.iae.nl (deepground1.iae.nl [212.61.45.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BD9F43F3F for ; Fri, 11 Jul 2003 02:28:55 -0700 (PDT) (envelope-from e.ramos@deepground.com) Received: from LAPTOP6 (unknown [192.100.0.226]) by deepground1.iae.nl (Postfix) with ESMTP id 4BD2C167 for ; Fri, 11 Jul 2003 11:28:54 +0200 (CEST) From: "Eddy Ramos" To: Date: Fri, 11 Jul 2003 11:29:01 +0200 Message-ID: <000501c3478e$dcdee870$e20064c0@LAPTOP6> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 In-Reply-To: <000101c34786$16a0e9e0$e20064c0@LAPTOP6> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: RE: mpd - question 2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2003 09:28:57 -0000 Well, The first problem is solved (seemed to be that I used spaces in the config file instead of tabs. sorry...) Now the configuration file is read correctly, but nothing happens. Looks like a bundle is missing? I think this has something to do with pptpd not running? How can I start it? Or is it another problem? # mpd Multi-link PPP for FreeBSD, by Archie L. Cobbs. Based on iij-ppp, by Toshiharu OHNO. mpd: pid 35718, version 3.13 (root@deepground1.iae.nl 16:38 10-Jul-2003) [:] link mpd: no bundles defined [:] bundle mpd: no bundles defined [:] My configuration file 'mpd.conf': default: load pptp0 pptp0: new -i ng0 pptp0 pptp0 set iface disable on-demand set bundle disable multilink set iface enable proxy-arp set link yes acfcomp protocomp set link no pap chap set link enable chap set link keep-alive 60 180 set ipcp yes vjcomp set ipcp ranges 192.100.0.113/32 192.100.0.50/32 set ipcp dns 192.100.0.113 set ipcp nbns 192.100.0.113 set bundle enable compression set ccp yes mppc set ccp yes mpp-e40 set ccp yes mpp-e128 set ccp yes mpp-stateless set bundle yes crypt-reqd -----Original----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] To: freebsd-questions@freebsd.org Hi, I'm experiencing some troubles with mpd as well. I copied the 'mpd.conf' from Luke and changed the IP-addresses. I have also tried adapting the original 'mpd.conf.sample' file and a config sample I found on a HOWTO on the internet. Still the same errors keep preventing me from starting mpd: # mpd -f ./ mpd.conf Multi-link PPP for FreeBSD, by Archie L. Cobbs. Based on iij-ppp, by Toshiharu OHNO. mpd: pid 35364, version 3.13 (root@deepground1.iae.nl 16:38 10-Jul-2003) mpd: warning: line too long, truncated mpd: warning: line too long, truncated mpd: warning: line too long, truncated mpd: can't read configuration for "mpd.conf" mpd: process 35364 terminated # mpd -k Multi-link PPP for FreeBSD, by Archie L. Cobbs. Based on iij-ppp, by Toshiharu OHNO. mpd: pid 35365, version 3.13 (root@deepground1.iae.nl 16:38 10-Jul-2003) [pptp0] can't create socket node: Operation not permitted [pptp0] using interface [pptp0:pptp0] q [pptp0] IPCP: Down event [pptp0] IFACE: Close event [pptp0] can't shutdown ":": Bad file descriptor [pptp0] can't shutdown "bypass.inet": Bad file descriptor [pptp0] can't shutdown "bypass": Bad file descriptor mpd: process 35365 terminated By the way, should I also install or run an pptp daemon? I tried 'pkg_info | grep pptp' and 'whereis pptpd', but I can't find an (already installed?) pptp package. Thanks, Eddy. -----Original----- From: owner-freebsd-questions@freebsd.org To: freebsd-questions@freebsd.org No, it's not dialup only.... You're on the right track using mpd, but again that really depends on what you're trying to accomplish with your VPN. As you've probably noticed there are several different types of VPN setup. I use mpd for users on the road or working from home to securely access services inside our private network. I thought I'd include this config because I didn't think it was easy to figure out how to enable simultaneous connections. This is set up for 2 simultaneous connections, but could easily be expanded. s3rv3r# cat mpd/mpd.conf default: load pptp0 load pptp1 pptp0: new -i ng0 pptp0 pptp0 set iface disable on-demand set iface enable proxy-arp set iface idle 1800 set bundle disable multilink set link yes acfcomp protocomp set link no pap chap set link enable chap set link keep-alive 10 60 set ipcp yes vjcomp set ipcp ranges 10.1.1.02/32 10.1.1.03/32 set ipcp dns 192.168.10.128 # # The five lines below enable Microsoft Point-to-Point encryption # (MPPE) using the ng_mppc(8) netgraph node type. # #set bundle enable compression #set ccp yes mppc #set ccp yes mpp-e40 #set ccp yes mpp-e128 #set ccp yes mpp-stateless pptp1: new -i ng1 pptp1 pptp1 set iface disable on-demand set iface enable proxy-arp set iface idle 1800 set bundle disable multilink set link yes acfcomp protocomp set link no pap chap set link enable chap set link keep-alive 10 60 set ipcp yes vjcomp set ipcp ranges 10.1.1.12/32 10.1.1.13/32 set ipcp dns 192.168.10.128 # # The five lines below enable Microsoft Point-to-Point encryption # (MPPE) using the ng_mppc(8) netgraph node type. # #set bundle enable compression #set ccp yes mppc #set ccp yes mpp-e40 #set ccp yes mpp-e128 #set ccp yes mpp-stateless Luke > From: "Darryl Hoar" > Reply-To: darryl@osborne-ind.com > Date: Thu, 10 Jul 2003 09:35:12 -0500 > To: > Subject: mpd - question > > I was reading a howto on setting up a vpn server for use with > microsoft clients. It discussed the mpd port. The entire howto seem > to imply dailup networking and modems. The server I'm thinking about > setting up would live on a DSL connection (not ADSL). Can mpd work > with a DSL connection ? > > I'm a newbie at VPN so still groping in the dark. > > thanks > Darryl > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"