Forum Discussion
superd_88943
Nimbostratus
Jul 16, 2014iRule for FTP traffic
Hi all..
Im looking to create the following iRule:
scans for traffic on port 21 (FTP) from source = proxy servers (10.1.1.1 & 10.1.1.2)
and destination: 212.10.10.10 and 212.11.11.11...
Kevin_Stewart
Employee
Jul 16, 2014Give this a shot:
when CLIENT_ACCEPTED {
if { ( ( [IP::addr [IP::client_addr] equals 10.1.1.1] ) or ( [IP::addr [IP::client_addr] equals 10.1.1.2] ) ) and ( ( [IP::addr [IP::local_addr] equals 212.10.10.10] ) or ( [IP::addr [IP::local_addr] equals 212.11.11.11] ) ) } {
pool proxy_pool
} else {
pool default_pool
}
}
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