Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => Linux Servers Support => Topic started by: cfybyair on October 25, 2004, 03:29:54 AM

Title: The user source address of Cache is transparent ???
Post by: cfybyair on October 25, 2004, 03:29:54 AM
Squid. Is it transparent that can make the user source address of Cache?
how to ?
Title: The user source address of Cache is transparent ???
Post by: Ricky on October 25, 2004, 09:15:37 AM
Hmmm..

can you ask this question in other words.. its unclear to me !
Title: The user source address of Cache is transparent ???
Post by: cfybyair on October 26, 2004, 04:08:35 PM
i'm very sorry.my english is no good
the issue should  be said/expressed by this means :
how to transparent the user source address in squid.

when the user drop in one of servers,
the server log the reality adress of user
not cache server adress .
Title: The user source address of Cache is transparent ???
Post by: Ricky on October 29, 2004, 01:23:51 PM
well.. As far as I think it is not possible.. as you are actually serving all request from the proxy server itself which are from the user.
I have seen that there are proxy server which can do so.. but not in my knowledge as far SQUID is concerned. I will look around !!
Title: The user source address of Cache is transparent ???
Post by: cfybyair on November 01, 2004, 02:14:14 PM
i found one way to ravel out the problem.so i don't know it's a viable
way.
iptable Destination NAT.look at this
iptables -t nat -A POSTROUTING -d 192.168.1.1 -s 192.168.1.0/24 -p tcp --dport 80 -j SNAT --to 192.168.1.250
(192.168.1.1----web)(192.168.1.250---gateway)(192.168.1.0/24---networks)
Do I use these orders if repeat , whether former one will be covered by rear one?