Forum Discussion
nanselmo_108951
Nimbostratus
Dec 17, 2012Need help with a SNAT iRule
So I have an iRule which will effectively SNAT everything to the VIP address, but I need to modify it to ONLY SNAT traffic where the source subnet is the same as the destination subnet. Any help here...
What_Lies_Bene1
Cirrostratus
Dec 17, 2012I don't see any easy way of doing this but if all the networks are /24's perhaps you could compare the first three octets of client address to the virtual address using [IP::addr [IP::local_addr]. Unfortunately I don't have the skills (yet) to knock something up but I'm sure someone could help out.
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