Forum Discussion
Ed_26015
Nimbostratus
Dec 04, 2010Source routing with iRules
Hi all,
I hope you can help.
I have two interfaces on the F5 that connect back to a Cisco PIX again on different interfaces.
Topology is 10.130.4.1 & 10.130.32.1 for the ...
Ed_26015
Nimbostratus
Dec 16, 2010If it helps the current syntax of the iRule is;
when CLIENT_ACCEPTED {
log local0. "[IP::client_addr]:[TCP::client_port]: destination [IP::local_addr]:[TCP::local_port]"
Check if client IP is in the DMZ_Inside datagroup
if {[class match [IP::client_addr] equals DMZ_Inside]}{
log local0. "[IP::client_addr]:[TCP::client_port]: Matched DMZ_Inside, using 10.130.32.1"
node 10.130.32.1
} else {
node 10.130.4.1
log local0. "[IP::client_addr]:[TCP::client_port]: Matched DMZ_Inside, using 10.130.4.1"
}
}
This is applied to the Virtual server which is applied to the DMZ interface (10.130.52.0/22)
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
