RE: Use nat/ipf to redirect request to squid
"Derrick Lobo" <[email protected]>
| Newsgroups | gmane.os.netbsd.help |
|---|---|
| Message-ID | <018e01c78db9$2bfd5f80$9f07a8c0@Derrick2006> |
Thanks a lot Jospeh ... Derrick -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Joseph A. Dacuma Sent: Thursday, May 03, 2007 2:31 PM To: Derrick Lobo Cc: [email protected] Subject: Re: Use nat/ipf to redirect request to squid > 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