Всем привет! Нужна помощь! Проблема следующая:
РРРоЕ-MPD5 работает, конект с клиента проходит, выдается ІР адрес из учетки, все ІР адреса на сервере пингуются, а в инет выхода нету.
Система: freeBSD 7.2, Nodeny 49.1, mpd5
Ниже приведены конфиги:
bill# ipfw list
00050 allow tcp from any to me dst-port 22
00051 allow tcp from me 22 to any
00052 allow tcp from any to me dst-port 5006
00053 allow tcp from me 5006 to any
00110 allow ip from any to any via lo0
00120 skipto 1000 ip from me to any
00130 deny icmp from any to any in icmptypes 5,9,13,14,15,16,17
00160 skipto 2000 ip from any to me
00200 skipto 500 ip from any to any via rl0
00300 skipto 4500 ip from any to any in
00400 skipto 450 ip from any to any recv rl0
00420 divert 1 ip from any to any
00450 divert 2 ip from any to any
00490 allow ip from any to any
00500 skipto 32500 ip from any to any in
00510 divert 1 ip from any to any
00540 allow ip from any to any
01000 allow udp from any 53,7723 to any
01010 allow tcp from any to any setup keep-state
01020 allow udp from any to any keep-state
01100 allow ip from any to any
02000 check-state
02010 allow icmp from any to any
02020 allow tcp from any to any dst-port 80,443
02050 deny ip from any to any via rl0
02060 allow udp from any to any dst-port 53,7723
02100 deny ip from any to any
05000 deny ip from not table(0) to any
05001 skipto 5010 ip from table(127) to table(126)
05002 skipto 5030 ip from any to not table(2)
05003 deny ip from any to not table(1)
05004 pipe tablearg ip from table(21) to any
05005 deny ip from any to any
05010 pipe tablearg ip from table(127) to any
05030 deny tcp from table(15) to any dst-port 25
05400 pipe tablearg ip from table(11) to any
32000 deny ip from any to any
32490 deny ip from any to any
33000 pipe tablearg ip from table(126) to table(127)
33001 skipto 33010 ip from not table(2) to any
33002 pipe tablearg ip from any to table(20)
33003 deny ip from any to any
33400 pipe tablearg ip from any to table(10)
65535 deny ip from any to any
bill# cat /usr/local/etc/mpd5/mpd.conf
startup:
set user admin hardpass6
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
pppoe_server:
create bundle template B
set ipcp ranges 10.100.0.1/32 127.0.0.2/32
set ipcp dns 10.100.0.1
set ccp yes mppc
set mppc yes e40
set mppc yes e56
set mppc yes e128
set mppc yes stateless
set ecp disable dese-bis dese-old
create link template common pppoe
set link enable multilink
set link action bundle B
set link disable chap pap eap
set link enable pap
load radius
set pppoe service "*"
create link template re0 common
set link max-children 1000
set pppoe iface re0
set link enable incoming
radius:
set radius server localhost hardpass5 1812 1813
set radius retries 3
set radius timeout 3
set radius me 127.0.0.1
set auth acct-update 45
set auth enable radius-auth
set auth enable radius-acct
set radius enable message-authentic
bill# cat /etc/pf.conf
nat pass on rl0 from 10.1.0.0/16 to any -> rl0
nat pass on rl0 from 192.168.0.0/16 to any -> rl0
nat pass on rl0 from 10.100.0.0/32 to any -> rl0
Если авторизоваться на сервер локально, используя локальный ІР адрес без поднятия РРР, все работает в инет пускает!
Незнаю, что делать и как.
П.С. может нужно еще какие то правила в Фаер добавить....