Forum Discussion
felix001_29321
Nimbostratus
Sep 27, 2011Irule TCP Port Issue
Im trying to create an Irule which will snat the connection behind a single ip when destined for a destination port.
The iRule I have is :
-----------------------------------------...
Michael_Yates
Nimbostratus
Sep 28, 2011Hi Felix,
Try this and let me know how it works out. I have converted it to v10.x.x (match class), modified the second condition, and modified the event from CLIENT_ACCEPTED to HTTP_REQUEST:
when HTTP_REQUEST {
if { [class match [IP::client_addr] equals src_nets ] and [[LB::server port] equals "8181" ] } {
snat 172.16.1.100
}
}
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
