Forum Discussion
sanzinc
Nimbostratus
Feb 27, 2024LTM | Preserve Client IP Address in L3 Mode
TLDR; Is there any way to 'preserve original client source IP address' in the packets sent from LTM to the realserver? I am currently using a non-F5 SLB solution, looking to migrate to F5 LTM. But...
Feb 27, 2024
Hi sanzinc,
To keep the real server IP you have some methods:
- Configure the default gateway in the application as the Self IP in the F5, and configure a couple of routing Virtual servers for UDP and TCP traffic, "this is probably the most fittable solution for you".
- Configure a layer 7 virtual server with an HTTP profile and configure the X-Forwarded-For.
- Use DSR o npath routing enabling asymetric traffic "not recommended".
Hope it works.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects
