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 IPDIVERTdo not work!!!!Wthot's problem????
:(
send pleas
You have different ifases in divert rule and in sturtup config.
So in firewall.conf must be:
ipfw add divert natd .... via fxp0