giaccadabar_254
Jan 18, 2017Nimbostratus
LTM as Name-Based reverse proxy
Dears,
i'm tring to implement a Name-based reverse proxy with LTM v12. The schema of our request should be similiar to the below:
site1.com ---\ /server1:80 (pool1)
>------ VIP (virtual server) ----<
site2.com ---/ \server2:80 (pool2)
I've set the following local policy and attached it to the VIP virtual server:
ltm policy Name_based_reverse_proxy {
controls { forwarding }
last-modified 2017-01-18:19:06:49
requires { http }
rules {
rule1 {
actions {
0 {
forward
select
pool POOL1
}
}
conditions {
0 {
http-host
host
values { site1.com }
}
}
ordinal 1
}
rule2 {
actions {
0 {
forward
select
pool POOL2
}
}
conditions {
0 {
http-host
host
values { site2.com }
}
}
}
}
status published
strategy first-match
}
Now the problem, if I try to request from my browser one of these two URLs the connection fails and on the statistics of LTM the above rule created has not invocations, it seems that something is missing and the rule is not invoked on my http request sent to the virtual server.
Could you please help me?
Many thanks
Regards