Forum Discussion
Alpesh_Patel_38
Nimbostratus
Feb 03, 2007iSNAT based on destination address?
Hello Everyone,
we have req.to use iSANT where only selected traffic flows need to be SANTed. We are trying to use "destination IP" as a selection critera? -
example: We only need to SA...
kykong_107132
Nimbostratus
Feb 04, 2007Hi,
I have come out a sample irule, hope it work in your environment. basically, you need to create a data group name it as clientIP with all the client IP address as the member. then in your irule, you use matchclass commmand to match the clientip address. happy trying.
class clientIP {
x.x.x.1
x.x.x.2
}
when CLIENT_ACCEPTED {
if { [matchclass[IP::client_addr] eq $::clientIP] and [IP:addr [IP::local_addr] eq y.y.y.1]} {
snat z.z.z.1
} else {
gateway_pool
}
}
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