Forum Discussion
daveclark_20228
Nimbostratus
Jun 03, 2009Trying to get a SNAT irule to work
Hello all , i am hoping of you very helpful people will be able help me get this working. I am not a programmer , and only just starting to learn about TCL and Irules.
I have a irule i want to...
daveclark_20228
Nimbostratus
Jun 03, 2009Thanks
I got this working befire the replied with this
when CLIENT_ACCEPTED {
if client_addr equals and server ports equals
if {[IP::addr [IP::client_addr] equals a.a.a.203] and [TCP::local_port] equals 25010}{
snat using this snat address as a source address
snat b.b.b.b
} else {
if client_addr equals and server ports equals
if {[IP::addr [IP::client_addr] equals c.c.c.204] and [TCP::local_port] equals 25010}{
snat using this snat address as a source address
snat d.d.d.d
} else {
don't do any source address translation and forward
forward
}
}
}
Thnaks for your help. What a great forum, better than the response from F5 , " limited support for irules , but he did agree to look at the rule for me .
Thanks again Cmbhatt
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