Proxy hides real IP

Dear Experts,

I just created the proxy, based on TIdTCPMapping Indy component, and I have a huge problem - the destination server can't see the original client IP. For example, user from 11.11.11.11 connects to my proxy at port 2525 then proxy redirects request to server at port 25, but server always see host IP where proxy is running (in my case 127.0.0.1), so real IP 11.11.11.11 is hidden! How can I get rid of this proxy "feature"? I know there can be low-level NDIS, LSP and TDI stuff, but I'm not C++ programmer.

TIA,
dumb
iam_dumbAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

gmayoCommented:
That's the general idea of a proxy server. You pass info to the proxy, it forwards it onto the destination with its own IP address as the return address, which then gets forwarded back to you by the proxy. What protocol are you using - HTTP? The proxy obviously needs to remember which client requested it, so it would normally store the client address somewhere, but that depends on the protocol as to exactly where.

Geoff M.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
iam_dumbAuthor Commented:
I use SMTP, and since proxy hide real IP address, many security features of mail server, based on sender IP, become useless.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.