URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID1
Нить номер: 50456
[ Назад ]

Исходное сообщение
"natd don't work"

Отправлено Friker , 12-Ноя-04 21:49 
I am install server on Freebsd 5.0
I have fxp0 - OuT interface (Inet)
fxp1 in interfase (local)
**configure natd**

add for rc.conf :

natd_enable="YES"
natd_interface="fxp0"
gateway_enable="YES"
firewall_enable="YES"
firewall_tupe="/etc/firewall.conf"

add /etc/firewall.conf:
ifpw add allow all from any to nay via lo0
ipfw add divert natd tcp from any to any via fxp1
ipfw add allow all from any to any


kernel compil include IPFIREWALL and IPDIVERT

do not work!!!!Wthot's problem????
:(
send pleas


Содержание

Сообщения в этом обсуждении
"natd don't work"
Отправлено leopold , 13-Ноя-04 10:37 
You have different ifases in divert rule and in sturtup config.
So in firewall.conf must be:
ipfw add divert natd .... via fxp0