Forum Discussion
Irule for Destination IP address and SNAT.
Hello Guys -- Can you please help with an irule which looks at the destination IP address, if destination is matched its SNAT's the IP address and send the traffic out to a specific pool. If no match, sends the packet to a default pool.
1 Reply
- rob_carr
Cirrocumulus
You should be able to use the code shown here as a base for what you are trying to do:
https://devcentral.f5.com/questions/how-to-use-irule-to-create-snat-based-on-destination-ip-address
Keep in mind that if you are making more than one or two comparisons, you would do well to use the 'switch' statement.
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