Вот такая конструкция рулит на VMWareifconfig_lnc0="inet 192.168.13.3 netmask 255.255.255.0"
ifconfig_lnc0_alias0="inet 194.44.38.186"
ifconfig_lnc1="inet 192.168.100.2 netmask 255.255.255.0"
natd_enable="YES"
natd_interface="lnc0"
natd_flags="-f /etc/natd.conf"
firewall_enable="YES"
firewall_script="/etc/rc.ipfw"
squid_enable="YES"
/etc/natd.conf
redirect_port tcp 192.168.100.15:4899 4899
shlez# vi /etc/rc.ipfw
#!/bin/sh
fwcmd="/sbin/ipfw -q"
${fwcmd} -f flush
lnc0="ext"
lnc1="int"
#natd_interface="lnc0"
${fwcmd} add 1 skipto 10 ip from 192.168.100.0/24 to me
${fwcmd} add 2 skipto 10 ip from 192.168.100.15 to any
${fwcmd} add 9 fwd 192.168.100.2:3128 tcp from 192.168.100.0/24 to any 80,8080,8
081,8100,8180,3128
${fwcmd} add 99 divert natd all from any to any via ${natd_interface}
${fwcmd} add 100 pass all from any to any via lo0
${fwcmd} add 200 deny all from any to 127.0.0.0/8
${fwcmd} add 300 deny ip from 127.0.0.0/8 to any
${fwcmd} add 500 pass all from any to any
По ходу выявил еще одну особенность
если
natd_interface="194.44.38.186"
проброс прекращает работать.