Forum Discussion
Paul_Hogan_7050
Nimbostratus
Dec 17, 2008iRule SNAT to a specific network interface only
I need to setup an iRule to NAT traffic from a specific IP subnet address when it hits a specific network interface. I do not want to NAT the trafic when it hits a different interface. Would anyone ...
The_Bhattman
Nimbostratus
Dec 17, 2008Hi Paul,
Here is an example where SNAT is applied to any interface when it matches a specific net address.
when CLIENT_ACCEPTED {
if { [IP::addr [IP::local_addr] equals 10.10.10.0/255.255.255.0] }{
snat automap
}
}
I hope this helps
CB
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