Re: Use nat/ipf to redirect request to squid

"Joseph A. Dacuma" <[email protected]>
Newsgroups gmane.os.netbsd.help
Message-ID <[email protected]>
> Not sure if this is the correct mailing list....
>
> I am trying to forward all internal http traffic to a server running
> squid through through my gateway ... And was wondering what
> ipnat/ipfrules to use..
>
> My gateway is 192.168.7.1 the squid server is 192.168.7.6 port 3128..
>
> Thanks
>
>
>
> Derrick
>
>
Hi Derrick!

Install squid from pkgsrc with ipf transparent enabled on your (i presume
you use NAT) gateway and you can use the other machine for other purposes.
Please choose the machine with more memory when running squid.

On your ipnat file you must include this:

rdr <your_internal_NIC> 0/0 port 80 -> 127.0.0.1 port 3128 tcp

HTH,

Joseph
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.