Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 May 2002 07:22:54 -0700 (PDT)
From:      Jeff Mitchell <jeff4492@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   pptp vpn: mpd and 'set bundle authname'
Message-ID:  <20020511142254.56242.qmail@web21507.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help

Hi,

I am having trouble with 'set bundle authname' option for mpd bundles.

In the example below, I want homer to be client0, marge to be client1,
and bart to be client2.

But if bart logs in when homer is not connected, bart gets link pptp0
with the ng0 device.  In general, each person always gets the first
available link instead of the link to which they were supposedly
assigned.

Thanks,
Jeff

------------------------------------------------------
mpd.conf
------------------------------------------------------

default:
        load client0
        load client1
        load client2

client_standard:
        set iface disable on-demand
        set iface enable proxy-arp
        set iface idle 1800
        set bundle enable 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 dns 192.168.1.2
        set ipcp nbns 192.168.1.2
        set bundle enable compression
        set ccp yes mppc
        set ccp yes mpp-e128
        set ccp yes mpp-stateless

client0:
        new -i ng0 pptp0 pptp0
	set bundle authname "homer"
        set ipcp ranges 192.168.1.1/32 192.168.1.200/32
        load client_standard
        
client1:
        new -i ng1 pptp1 pptp1
	set bundle authname "marge"
        set ipcp ranges 192.168.1.1/32 192.168.1.201/32
        load client_standard
        
client2:
        new -i ng2 pptp2 pptp2
	set bundle authname "bart"
        set ipcp ranges 192.168.1.1/32 192.168.1.202/32
        load client_standard

------------------------------------------------------
mpd.links
------------------------------------------------------

pptp0:
        set link type pptp
        set pptp self 192.168.1.1 
        set pptp enable incoming
        set pptp disable originate

pptp1:
        set link type pptp
        set pptp self 192.168.1.1 
        set pptp enable incoming
        set pptp disable originate

pptp2:
        set link type pptp
        set pptp self 192.168.1.1 
        set pptp enable incoming
        set pptp disable originate

------------------------------------------------------
mpd.secret
------------------------------------------------------

homer   "homerspassword"  192.168.1.200
marge   "margespassword"  192.168.1.201
bart    "bartspassword"   192.168.1.202


__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020511142254.56242.qmail>