MPD [was Re: VPNs]

Lou Kamenov lou.kamenov at
Mon Nov 11 11:07:24 GMT 2002

In some email I received from Jose Marques <noway at> on
Sun, 10 Nov 2002 21:57:13 +0000 (GMT) :
> On Sun, 10 Nov 2002, Lou Kamenov wrote:
> > I`d suggest to you trying again, I`m running mpd on 4.7-STABLE with
> > about 15 clients. Settings are: PPTP,forcing 128bit MPPE encryption
> > (sometimes MPP(C)ompression), and that`s not hard at all.
> > All the clients are 98/2k/XP. (98 with MS high encryption patch)
> Could I have copies of your mpd.conf and mpd.links files?  I managed
> to get a Windows client to connect and authenticate but any attempt to
> send data resulted in errors (the only refrence I could find to this
> on Google suggested it was some kind of encryption problem).  I'd be
> very interested to see what you are doing that differs from my
> attempts.

Though you can find the manual @ /usr/[local/]/share/doc/mpd. 
It`s a really good one.
Set the server and then dial-in using Windows 2k, it will work for sure.

        load pptp0
        load pptp1
	[and so on]
        new -i ng0 pptp0 pptp0
        set ipcp ranges ServerSide/32 ClientSide/32
        load dialin_specs #loading the specs
	new -i ng1 pptp1 pptp1
	set ipcp ranges ServerSide/32 ClientSide/32
	load dialin_specs

[ and so on to pptpN ]

        set iface disable on-demand
        set iface enable proxy-arp
        set bundle enable multilink
        set link yes acfcomp protocomp
        set link yes pap chap
        set link enable chap
        set link keep-alive 0 180
        set ipcp yes vjcomp
        set ipcp dns DNSADDRESS  
        set ipcp nbns WINSADDRESS 

# encryption and compression.
	set bundle enable compression        
	set ccp yes mppc
        set ccp yes mpp-e128  

# forcing 128 encryption, dont put more than one  might crash, or force
# the lower one. for e128 you need DUN VPN patch for High encryption (on
# win98        
	set ccp yes mpp-stateless        
	set bundle yes

== mpd.links pptp0:
	set link type pptp
	set pptp self 0
	set pptp enable incoming
	set pptp disable originate 

	set link type pptp
	set pptp self 0
	set pptp enable incoming
	set pptp disable originate

[ and so on ]
username	userpassword	USER_DESIRED_IP

[ and so on ]




Network Infrastructure/Security Analyst
Lou Kamenov    lou.kamenov at	lou.kamenov at
AEYE R&D - AEYE Commercial -
phone: +44 (0) 20 89469546 fax: +44 (0) 7092 129079
mobile: +44 (0) 7905 514036 PGP Key ID - 0xA297084A

AEYE(=AI) stands for Artificial Intelligence.

More information about the Ukfreebsd mailing list