client+Dansguardian+Squid+IPFW - all on same pc

I have one computer that has Dansguardian (127.0.0.1:8888)
and Squid (127.0.0.1:3333) and IPFW installed. From the same computer,
I'm trying to redirect port 80 to Dansguardian's port 8888 using the
rulesets below.
Is this possible? I read that ipfw does not allow forwarding from the
same machine. Is this true?  Something wrong with my rules?

allow tcp from any to any dst-port 80 out uid squid
allow tcp from any to any dst-port 3333 out uid squid
fwd 127.0.0.1,8883 tcp from any to any 80

Reply via email to