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

Re: Is this possible ?





On Thu, May 20, 2010 at 19:15, <export@hope.cz> wrote:
Let’s suppose this configuration

|Server1| <----- |Server2| <----- |Client|

A client sends a request that starts a script on Server2.The script ( running on server2) from this server 2 will download a webpage from Server1.
Is it possible to record Client’s IP on Server1, instead of Server2’s IP? In other words, Server1 will think the request for downloading is directly from Client.
That is Server2’s IP will be “invisible” for Server1

Is this possbile?
Thanks
Joe.
 
-- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org Archive: [🔎] 4BF55933.17981.BC1F689@export.hope.cz" target="_blank">http://lists.debian.org/[🔎] 4BF55933.17981.BC1F689@export.hope.cz

Since it is a different session (because your script on server2 sends the request to server1), it may not be possible.  The ip packet is locally generated on server2 because of the script is trying a request to server1.
Other options are the script may have to embed the ip address somehow to server1.  Or avoid the script on server2 and use NAT there.



Reply to: