UTM5+MPD
-
- Сообщения: 309
- Зарегистрирован: Сб апр 16, 2005 11:44
UTM5+MPD
Народ, если у кого нормально фунциклирует, поделитесь плиз конфигом, а то нифига не понятно...
master(d.o.g)netman.ru
Заранее сенькс!!!
master(d.o.g)netman.ru
Заранее сенькс!!!
-
- Сообщения: 309
- Зарегистрирован: Сб апр 16, 2005 11:44
-
- Сообщения: 309
- Зарегистрирован: Сб апр 16, 2005 11:44
-
- Сообщения: 309
- Зарегистрирован: Сб апр 16, 2005 11:44
ИМХО пользуй poptop, нет мороки с описанием всех интерфейсов ...
============ mpd.conf
default:
load vpn
vpn:
new -i ng1 vpn vpn
set ipcp ranges 192.168.100.1 192.168.100.2
load default_
default_:
set iface disable on-demand
set iface enable proxy-arp
set iface idle 1800
set iface enable tcpmssfix
set bundle enable multilink
set link yes acfcomp protocomp
set link no pap chap
set link enable chap
set link mtu 1460
set link keep-alive 10 60
set ipcp yes vjcomp
set ipcp dns 192.168.0.1
set ipcp nbns 192.168.0.1
set bundle enable compression
set ccp yes mppc
set ccp yes mpp-e40
set ccp yes mpp-e128
set ccp yes mpp-stateless
#radius:
# You can use radius.conf(5), its useful, because you can share the
# same config with userland-ppp and other apps.
set radius config /usr/local/etc/mpd/radius.conf
# and/or specify the server directly here
set radius retries 3
set radius timeout 10
set radius server localhost secret 1812 1813
# send the given IP in the RAD_NAS_IP_ADDRESS attribute to the server.
# set radius me 1.1.1.1
# send accounting updates every 5 minutes
set radius acct-update 60
# let the RADIUS server assign the IP
set ipcp enable radius-ip
# enable RADIUS, and fallback to mpd.secret, if RADIUS auth failed
# set bundle enable radius-auth radius-fallback
set bundle enable radius-auth
# enable RADIUS accounting
set bundle enable radius-acct
# use idle-timeout, session-timeout, routes list and mtu from the RADIUS server
# set iface enable radius-idle radius-session radius-mtu radius-route
# activate MPPE and let the RADIUS server assign MPPE-types and MPPE-policies
# set bundle enable compression
# set ccp yes mppc
# set ccp enable radius
===============================
mpd.links
less mpd.links
vpn:
set link type pptp
set pptp self 192.168.10.253
set pptp enable incoming
set pptp disable originate
===============================
radius.conf
auth localhost secret 3 2
acct localhost secret 3 2
===============================
если у тебя будет клиентов порядка 100 , то все этьо надо будет повторить 100 раз, с разными параметрами...
============ mpd.conf
default:
load vpn
vpn:
new -i ng1 vpn vpn
set ipcp ranges 192.168.100.1 192.168.100.2
load default_
default_:
set iface disable on-demand
set iface enable proxy-arp
set iface idle 1800
set iface enable tcpmssfix
set bundle enable multilink
set link yes acfcomp protocomp
set link no pap chap
set link enable chap
set link mtu 1460
set link keep-alive 10 60
set ipcp yes vjcomp
set ipcp dns 192.168.0.1
set ipcp nbns 192.168.0.1
set bundle enable compression
set ccp yes mppc
set ccp yes mpp-e40
set ccp yes mpp-e128
set ccp yes mpp-stateless
#radius:
# You can use radius.conf(5), its useful, because you can share the
# same config with userland-ppp and other apps.
set radius config /usr/local/etc/mpd/radius.conf
# and/or specify the server directly here
set radius retries 3
set radius timeout 10
set radius server localhost secret 1812 1813
# send the given IP in the RAD_NAS_IP_ADDRESS attribute to the server.
# set radius me 1.1.1.1
# send accounting updates every 5 minutes
set radius acct-update 60
# let the RADIUS server assign the IP
set ipcp enable radius-ip
# enable RADIUS, and fallback to mpd.secret, if RADIUS auth failed
# set bundle enable radius-auth radius-fallback
set bundle enable radius-auth
# enable RADIUS accounting
set bundle enable radius-acct
# use idle-timeout, session-timeout, routes list and mtu from the RADIUS server
# set iface enable radius-idle radius-session radius-mtu radius-route
# activate MPPE and let the RADIUS server assign MPPE-types and MPPE-policies
# set bundle enable compression
# set ccp yes mppc
# set ccp enable radius
===============================
mpd.links
less mpd.links
vpn:
set link type pptp
set pptp self 192.168.10.253
set pptp enable incoming
set pptp disable originate
===============================
radius.conf
auth localhost secret 3 2
acct localhost secret 3 2
===============================
если у тебя будет клиентов порядка 100 , то все этьо надо будет повторить 100 раз, с разными параметрами...
-
- Сообщения: 309
- Зарегистрирован: Сб апр 16, 2005 11:44
-
- Сообщения: 309
- Зарегистрирован: Сб апр 16, 2005 11:44
в данном случае у меня конкретный вопрос о технической реализации.bob1 писал(а):Wishmaster я с вас умеляюсь ... если у вас 1000 юзеров, есть смысл про железяку подумать ...
ЗЫ это есть гибкость системы, что вы под каждый интерфейс можете свои настройки сделать, что вам вообще не надо ...
Если можно, то как сделать, а если нельзя - то значит нельзя...
Вопрос о железке это уже другой вопрос..