Search squid archive

Re: Squid2.6 Reverse Proxy question

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

 



lör 2007-01-13 klockan 16:58 +0800 skrev Tin:

> May I know how to let real http servers see the client's IP (for php access
> control) in reverse proxy mode ? do squid2.6 have this feature?

Squid always sends the client IP in the X-Forwarded-For header,
available to PHP and other scripting languages.

In Squid-2.6 there is also the Linux TPROXY option which can preserve
the original source IP at the packet level. Requires Squid to run as
"router" between the Internet and the web server, either directly or
indirectly via special support in your router (i.e. WCCP or policy
routing).

Regards
Henrik

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


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

  Powered by Linux