Forum Discussion
Damián_41877
Jun 13, 2011Nimbostratus
SNAT only for outbonding connections to external IP addressess
Hi guys
I need to create a iRule to SNAT the outbonding connections ONLY when their destination is internet, i.e., when the destination IP address does not belong to the internal addresses (...
nitass
Jun 13, 2011Employee
can u try this?
when CLIENT_ACCEPTED {
if {!([IP::addr [IP::local_addr] equals 10.9.0.0/16]) and \
!([IP::addr [IP::local_addr] equals 172.172.172.0/24]) and \
!([IP::addr [IP::local_addr] equals 200.201.202.0/24])} {
snat X.X.X.X
}
}
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