Forum Discussion
faycal_29095
Nimbostratus
Dec 06, 2007Using twi IRULE in the VS Wildcard
Hello;
i want to use two IRULE in my VS Wilcard.
We have two ISP and we want to redirect trafic as bellow:
- VPN: to ISP01
- SNATting of some internal IPs to go through ISP01.
...
faycal_29095
Nimbostratus
Dec 06, 2007thanks for your replay;
so if i understand, i wan apply only one IRULE in my VS Wildcard :
IRULE01---------------------------------------
when CLIENT_ACCEPTED {
if { [IP::protocol] == 50 } {
pool POOL_ISP1
} elseif { [UDP::local_port] == 500 } {
pool POOL_ISP1
}
}
when LB_SELECTED {
if { [IP::addr [IP::client_addr] equals 172.24.95.139 ] } {
snat 196.1.1.1
pool POOL_ISP1
} elseif { [IP::addr [IP::client_addr] equals 172.24.95.133 ] } {
snat 196.1.1.2
pool POOL_ISP1
} elseif { [IP::addr [IP::client_addr] equals 172.24.95.135 ] } {
snat 196.1.1.3
pool POOL_ISP1
} else {
snat automap
pool POOL_Gateway_ISP01
}}
-----------------------------------------------------------------
you think that with this IRULE, the trafic of VPN and SNAT of internal Server pass through ISP01 ?
please confirm or if you have another suggetion for my case.
thanks
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