Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jun 2003 10:09:34 +1000
From:      Andrew Thomson <ajthomson@optushome.com.au>
To:        freebsd-questions@freebsd.org
Subject:   ipfirewall_forward
Message-ID:  <20030616000934.GE60583@athomson.prv.au.itouchnet.net>

next in thread | raw e-mail | index | archive | help
i'm working on setting up a transparent squid proxy.

would like to clarify what the forward stuff actually does..

this is what I thought was happening..

ipfw2 initialized, divert enabled, rule-based forwarding enabled,
default to accept, logging unlimited

00500 fwd 192.168.1.2 tcp from any to any dst-port 80
65535 allow ip from any to any

i just thought i'd muck around with apache atm.. i hit the box with these
rules on it on port 80, and the request is never fwd'ed to 192.168.1.2

is this what's supposed to happen??

a tcpdump port 80 on both hosts show in the incoming http from the
client, however nothing on the machined having the packets forwarded..

can someone clarify this for me?

thanks,

ajt.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030616000934.GE60583>