Forum Discussion
Eric_Watters_25
Nimbostratus
Oct 30, 2014SNAT Using iRule and Variables
I want to SNAT traffic based on following criteria:
1) If source network is 10.10.1.x/24 and
2) If destination network is 10.13.71.x THEN
3) SNAT source IP to 192.168.20.x and forward to pool. ...
Arnaud_Lemaire
Employee
Oct 31, 2014You could use something like that :
set myip 1.2.3.4
scan $myip %d.%d.%d.%d ip1 ip2 ip3 ip4
set newip [IP::addr 192.168.20.$ip4 mask 255.255.255.255]
log local0. "$newip"
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