rc.conf на серваке
defaultrouter="192.168.171.240"
gateway_enable="YES"
hostname="ыукмук.lala.com"
ifconfig_rl0="inet 192.168.171.179 netmask 255.255.255.0"
ifconfig_rl1="inet 192.168.0.5 netmask 255.255.255.0"
kern_securelevel_enable="NO"
linux_enable="YES"
moused_enable="YES"
sshd_enable="YES"
natd_enable="YES"
natd_interface="rl0"
firewall_enable="YES"
firewall_type="/usr/local/etc/firewall.conf"
sendmail_enable="YES"
rl1- смотрит в сторону локальной сети
rl0- в сторону нета
IPFW-правила
add divert natd all from any to any via rl1
add allow all from any to any