Search squid archive

Transparent Squid

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

 



Dear Squid team,


I need Squid as a real 'transparent' proxy on Fedora without changing 5 tuples. Is it possible?


The setup is simple as Client ---------- Fedora --------Server

The Squid version is 3.5.20.The key configuration on Squid as below:

   http_port 0.0.0.0:3128 transparent

   acl localnet src 10.0.0.0/24

   http_access allow localnet

And I configured a NAT on Fedora. 

   iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j DNAT --to 10.0.0.1:3128


When I run curl on Client to server. I found the server receives the traffic with Fedora's IP address and different source port, instead of Client IP address and original source port.


Thanks a lot


_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux