Forum Discussion
How to send ip address of client to the server ?
Hi all
I have 1 virtual server run not http service. Example 10.29.252.42 port 2699 with Snat auto-map. But my server need to check ip address of client. I don't know how to insert ip client send to app server. Please guide me resolve it.
Best regards
2 Replies
- ekaleido
Cirrus
Without knowing anything about the app, I have no idea how to send the real client IP to the app, but here's a simple example of how to log the real client IP:
when CLIENT_ACCEPTED { log local0. "Real Client IP is [IP::client_addr]" } - dfosborne2_2224
Nimbostratus
I created this means by which to "Kill SNAT AutoMap":
https://devcentral.f5.com/codeshare/kill-snat-automap
I have some changes I need to make to the doc and code (I want to offer up all 3 methods Ive used/tested with the most recent method proving to be the solution that we are running with).
A few restrictions are that you must have selfIP/floatingIP presence in your pool members' subnet and your pool members must be linux (Well Ive only tested on this *nix flavor)
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com