Код: Выделить всё
ОС FreeBSD 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri Oct 16 00:24:19 MSD 2009 admin@:/usr/obj/usr/src/sys/GENERIC i386
Код: Выделить всё
netgraph_load="YES"
ng_ether_load="YES"
ng_netflow_load="YES"
ng_socket_load="YES"
ng_tee_load="YES"
ng_bpf_load="YES"
ng_iface_load="YES"
ng_ksocket_load="YES"
ng_ppp_load="YES"
ng_pptpgre_load="YES"
ng_tcpmss_load="YES"
ng_vjc_load="YES"
ng_one2many_load="YES"
ng_rfc1490_load="YES"
ng_tty_load="YES"
ng_UI_load="YES"
mpd.conf
Код: Выделить всё
startup:
# configure mpd users
set user foo bar admin
set user foo1 bar1
# configure the console
set console self 127.0.0.1 5005
set console open
# configure the web server
set web self 0.0.0.0 5006
set web open
default:
pptp_server:
set ippool add pool1 192.168.1.50 192.168.1.99
create bundle template B
set iface enable proxy-arp
set iface idle 1800
set iface enable tcpmssfix
set ipcp yes vjcomp
set ipcp ranges 192.168.1.1/32 ippool pool1
set ipcp dns 192.168.0.10
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 192.168.0.10
set link enable incoming
radius:
set radius config /etc/radius.conf
set radius server localhost secret 1812 1813
set radius retries 3
set radius timeout 3
set radius me 1.1.1.1
set auth acct-update 300
set auth enable radius-auth
set auth enable radius-acct
set radius enable message-authentic
Код: Выделить всё
auth 127.0.0.1:1812 secret
acct 127.0.0.1:1813 secret
Код: Выделить всё
Jul 31 12:25:29 proxy mpd: process 3760 started, version 5.5 (root@proxy 14:56 30-Jul-2010)
Jul 31 12:25:30 proxy mpd: CONSOLE: listening on 127.0.0.1 5005
Jul 31 12:25:30 proxy mpd: web: listening on 0.0.0.0 5006
Jul 31 12:27:08 proxy mpd: caught fatal signal term
Jul 31 12:27:10 proxy mpd: process 3760 terminated
Jul 31 12:27:12 proxy mpd: Multi-link PPP daemon for FreeBSD
Jul 31 12:27:12 proxy mpd:
Jul 31 12:27:12 proxy mpd: process 3787 started, version 5.5 (root@proxy14:56 30-Jul-2010)
Jul 31 12:27:12 proxy mpd: CONSOLE: listening on 127.0.0.1 5005
Jul 31 12:27:12 proxy mpd: web: listening on 0.0.0.0 5006
IP адрес сетевой карты которая смотрит в локалку 192.168.0.10
Что я делаю не так? какие еще дополнительные настройки и действия нужны? Нужно ли в файерволе добавить какие-нибудь правила?
Заранее благодарю.
[/code]