How to use transparent kernel proxy with squid?

Noah K Sematimba ksemat at ksemat.co.ug
Wed Jul 9 05:17:44 PDT 2003


I use a similar rule and it worked beautifully though I did not bother to
add the recv and xmit stuff. Afterall I already block private ips from
coming in my external interface anyways.

Noah.

On Tue, 8 Jul 2003 eculp at encontacto.net wrote:

> I want to use squid as a transparent proxy for http.  The last time I did
> this several years ago I used transproxy but I understand that it can
> now be done in the kernel.  I have all the firewall options compiled in the
> kernel [current] and ipfw and natd are working as expected.  I am trying to
> do something like
>
> ipfw add 300 fwd 127.0.0.1,3128 tcp from 192.168.1.0/24 to 0.0.0.0/0 80  \
> recv rl1 out xmit rl0
>
> Squid and the firewall are running on the same machine and and I want all
> the 192.168.1 network to be forced to use squid.
>
> Thanks for any tips,
>
> ed
>
> --
>
>
> -------------------------------------------------
>
> _______________________________________________
> freebsd-isp at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-isp
> To unsubscribe, send any mail to "freebsd-isp-unsubscribe at freebsd.org"
>


More information about the freebsd-isp mailing list