mpd - question 2

Eddy Ramos e.ramos at deepground.com
Fri Jul 11 02:28:57 PDT 2003


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 at 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 at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org]
To: freebsd-questions at 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 at 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 at 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 at freebsd.org
To: freebsd-questions at 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" <darryl at osborne-ind.com>
> Reply-To: darryl at osborne-ind.com
> Date: Thu, 10 Jul 2003 09:35:12 -0500
> To: <freebsd-questions at freebsd.org>
> 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 at freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
> 

_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"

_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list