Forum Discussion
John_Usser_4811
Nimbostratus
Jul 26, 2005Need iRule help
I need to write an iRule that will take incoming connections to a vip on my Big-IP, and SNAT the source addresses to a specific IP:port combination, and then send the connections with the SNAT'd source IP and port combination to a pool.
I have no experience with writing iRules so I would greatly appreciate any assistance with this. Thanks!
1 Reply
- Deb_Allen_18Historic F5 Account
You can change the source IP by just defining a SNAT and ensuring SNAT is enabled on the Virtual server, no iRule required...
(you don't really want to change the source port, do you? tcp/ip requires that one of four values be unique: source host, source port, dest host, dest port, which means that each defined host ip:port will only accept a single connection from the same IP:port, which means you could be limiting yourself to 1 concurrent connection per pool member if you do...)
hth
/deb
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