Forum Discussion
Stanislas_Piro2
Sep 01, 2017Cumulonimbus
Hi,
you can create 3 VS:
- one routing VS without any SSL and HTTP profile but the next irule
- one VS (same destination address or another one, doesn't matter, never used) with VLAN enabled none. enable first SSL profile
- one VS (same destination address or another one, doesn't matter, never used) with VLAN enabled none. enable second SSL profile
VS1 irule:
when CLIENT_ACCEPTED {
if {[IP::addr [IP::remote_addr]/24 equals 134.170.98.0]} {
virtual vs2
} elseif {[IP::addr [IP::remote_addr]/24 equals 157.56.199.0]} {
virtual vs2
} else {virtual vs3}
}
if the source IP is too long, you can use a data group list.