Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jul 2007 19:03:15 +0800
From:      Ganbold <ganbold@micom.mng.net>
To:        Mihai Tanasescu <mihai@duras.ro>
Cc:        freebsd-net@freebsd.org
Subject:   Re: mpd and vlan
Message-ID:  <46A72DF3.8040109@micom.mng.net>
In-Reply-To: <46A72BFF.1020301@duras.ro>
References:  <1159971789.00612536.1159960802@10.7.7.3>	<4524055D.7060906@mavhome.dp.ua>	<4529C408.5070807@micom.mng.net>	<452A008B.8040804@mavhome.dp.ua>	<452A0F2A.3000901@micom.mng.net> <452A164A.9080507@mavhome.dp.ua>	<45814888.1060301@micom.mng.net> <45814B40.4080004@mavhome.dp.ua> <46A72173.7070907@micom.mng.net> <46A72BFF.1020301@duras.ro>

next in thread | previous in thread | raw e-mail | index | archive | help
Mihai Tanasescu wrote:
> Sorry for asking as a follow-up to your question...but do you have a 
> working config for MPD and pptp.
>
>
> I'm desperately trying to get mine to work...but mpd refuses to listen 
> to connections on my interface (it starts, it gives no errors, it 
> loads the pptp1 config, I can access its console, etc).
>
>
>
>
>
>
Something like:

default:
    load pptp0
    load pptp1

pptp0:
    new -i ng0 pptp0 pptp0
    set ipcp ranges 192.168.1.2/32 192.168.5.1/24
    load pptp_standard

pptp1:
    new -i ng1 pptp1 pptp1
    set ipcp ranges 192.168.1.2/32 192.168.5.2/24
    load pptp_standard

pptp_standard:

        set iface idle 0
        set iface disable on-demand
        set iface disable proxy-arp
        set iface enable tcpmssfix
        set iface mtu 1500
        set iface route default
        set iface enable radius-session

        set bundle no multilink
        set bundle disable multilink
        set bundle enable compression
        set bundle max-logins 3
        set bundle enable radius-acct
        set bundle enable radius-auth

#        set link type pptp
        set link no pap
        set link enable chap
        set link keep-alive 10 60
        set link max-redial -1
        set link yes acfcomp protocomp
        set link mtu 1460
        set link latency 0


    set ipcp dns 192.168.1.1 192.168.0.1
    set ipcp yes vjcomp

        set ccp yes mppc
        set ccp yes mpp-e40



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

        set ccp yes mpp-e128
        set ccp yes mpp-stateless

        set pptp self 192.168.1.1
        set pptp enable incoming
        set pptp disable originate

###############

    set radius timeout 10
    set radius config /usr/local/etc/mpd/radius.conf
    set radius retries 3

I tested it a long ago with mpd-3.18. It worked at that time.

hth,

Ganbold


-- 
Boys will be boys, and so will a lot of middle-aged men. -- Kin Hubbard



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