Re: transparent proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 10 Mar 2010 00:44:14 +0100, "Marco Schuth" <marco@xxxxxxxxxxxxx>
wrote:
> Hello,
> 
> Iam using iptables on my router, and have a dedicated proxy server with 
> squid sarg and squidguard running.
> 
> all the clients send the request for a website to the default gw (router

> 10.12.0.1) the router redirects (dnat)
> the package to the proxy server ip:10.12.0.250
> but in the logs i get the ip from the router.

NAT destroys the IP addresses before they leave the machine doing NAT.
Please read the Squid FAQ examples of how to configure policy routing ...

Router:
 http://wiki.squid-cache.org/ConfigExamples/Intercept/IptablesPolicyRoute

Squid box:
  http://wiki.squid-cache.org/ConfigExamples/Intercept/LinuxDnat

Amos
Squid Project
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux