User Tools

Site Tools


пакет_mpd
[bras:~] # cat /usr/local/etc/mpd5/mpd.conf
startup:
        set user user1 password1 admin
        set user user2 password2

        set console self 127.0.0.1 5005
        set console open

        set web self 0.0.0.0 5006
        set web open

default:
        load pppoe_server

pptp_server:
        set ippool add pool1 195.19.35.2 195.19.35.62

        create bundle template B
        set iface enable proxy-arp
        set iface idle 1800
        set iface enable tcpmssfix
        set ipcp yes vjcomp

        set ipcp ranges 195.19.35.1/32 ippool pool1
        set ipcp dns 195.19.32.2

        set bundle enable compression
        set ccp yes mppc
        set mppc yes e40
        set mppc yes e128
        set mppc yes stateless

        create link template L pptp
        set link action bundle B
        set link enable multilink
        set link yes acfcomp protocomp
        set link no pap chap eap
        set link enable chap
        load radius
        set link keep-alive 10 60
        set link mtu 1460
        set pptp self 195.19.32.21
        set link enable incoming

pppoe_server:
        create bundle template B

        set ippool add pool1 195.19.35.2 195.19.35.62
        set ipcp ranges 195.19.35.1/32 ippool pool1
        set ipcp dns 195.19.32.2

        create link template common pppoe
        set link enable multilink
        set link action bundle B
        set link disable chap pap eap
        set link enable chap
        load radius

        create link template le1 common
        set link max-children 1000
        set pppoe iface le1
        set link enable incoming

radius:
        set radius server 195.19.32.135 Awsd34WE 1412 1413
        set radius retries 3
        set radius timeout 3
        set auth acct-update 300
        set auth enable radius-auth
        set auth enable radius-acct
        set radius enable message-authentic
пакет_mpd.txt · Last modified: 2013/05/22 13:50 (external edit)