April 25, 2024, 06:27:04 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: The user source address of Cache is transparent ???  (Read 3793 times)

Offline cfybyair

  • Linux Noob !
  • *
  • Posts: 7
The user source address of Cache is transparent ???
« on: October 25, 2004, 03:29:54 AM »
Squid. Is it transparent that can make the user source address of Cache?
how to ?

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
The user source address of Cache is transparent ???
« Reply #1 on: October 25, 2004, 09:15:37 AM »
Hmmm..

can you ask this question in other words.. its unclear to me !

Offline cfybyair

  • Linux Noob !
  • *
  • Posts: 7
The user source address of Cache is transparent ???
« Reply #2 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 .

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
The user source address of Cache is transparent ???
« Reply #3 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 !!

Offline cfybyair

  • Linux Noob !
  • *
  • Posts: 7
The user source address of Cache is transparent ???
« Reply #4 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?