Forum Discussion
John_Ogle_45372
Nimbostratus
Aug 20, 2013snat irule = modification
I recently received some great iRules to work with in a former thread here:
https://devcentral.f5.com/questions/snat-irule-needed-11-mappingsanswer78001
This is for a non-http vs. If I use this ...
Kevin_Stewart
Employee
Aug 20, 2013Try this:
when CLIENTED_ACCEPTED {
switch [IP::client_addr] {
"10.10.10.10" {
log local0. "Snatting 10.10.10.10 to 192.168.42.10"
snat 192.169.42.10
}
"10.10.10.11" {
log local0. "Snatting 10.10.10.11 to 192.168.42.11"
snat 192.168.42.11
}
"10.10.10.12" {
log local0. "Snatting 10.10.10.12 to 192.168.42.12"
snat 192.168.42.12
}
"10.10.10.13" {
log local0. "Snatting 10.10.10.13 to 192.168.42.13"
snat 192.168.42.13
}
default {
log local0. "Snatting [IP::client_addr] to automap"
snat automap
}
}
}
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