FreeBSD 5.5 - stable IPFW FWD to {another ip} doesn't work even with 5.3 beta patch

Al Lad 1090046 at mail.ru
Thu Sep 14 14:13:19 PDT 2006


>> Environment:
> FreeBSD gate.club4x4.ru 5.5-STABLE FreeBSD 5.5-STABLE #0: Wed Sep 13 02:07:28 MSD 2006
>> Description:
> KERN ->options IPDIVERT
> options IPFIREWALL
> options IPFIREWALL_FORWARD
> options IPFIREWALL_FORWARD_EXTENDED
> rc.conf -> firewall_enable=yes gateway_enable=yes firewall_script=/etc/rc.fire
> ifconfig_fxp0="inet 192.168.100.4  netmask 255.255.255.0"
> 
> rc.fire -> 
> ipfw add 88 fwd 192.168.100.3,3128 tcp from 192.168.100.0/24 to any 80,81,8000
> ipfw add 89 fwd 192.168.100.3,3128 tcp from 192.168.100.0/24 to any 8001-9000
> 
> ipfw show -> 
> 00088    6034     410828 fwd 192.168.100.3,3128 tcp from 192.168.100.0/24 to any dst-port 80,81,8000
> 00089    3132     382127 fwd 192.168.100.3,3128 tcp from 192.168.100.0/24 to any dst-port 8001-9000
> 
> But on machine 192.168.100.3 i'v got nothing  - all config was accurate working on  free 4.8 - 4.11. update was done through backup configuration (rc.conf &
> etc) then  full new install & kernel reassembling - IPFW FWD doesn't work!


More information about the freebsd-ipfw mailing list