Virtual server with real servers on different subnets/interfaces - Possible? How?
Hi all,
I try to get "loadbalacing" (better call it host routing) working with virtual server and HTTP host as balancing method.
I got a cert with all 3 server names as aliases, configured all 3 servers with their hostnames.
Problem: What and how many firewall rules to get it working?
I added two rules for each subnet, but it seems that no matter which hostname I access, only one rule is triggered. The first host (serv1) which matches the triggered rule works flawless. The other two hosts just seem to work on startpage. Any hints how to fix this?
Do I need one very generic rule for both networks and why just works startpage? Is it due to persistance?
config firewall vip edit "serv1-3" set comment "Server1 + Server2 + Server3" set type server-load-balance set extip 172.16.0.1 set extintf "any" set server-type https set http-ip-header enable set monitor "Check_Ping" set ldb-method http-host set persistence http-cookie set extport 443 config realservers edit 1 set ip 10.10.0.6 set port 5000 set http-host "serv1.example.com" next edit 2 set ip 10.200.0.150 set port 8080 set http-host "serv2.example.com" next edit 3 set ip 10.200.0.10 set port 8080 set http-host "serv3.example.com" next end set https-cookie-secure enable set http-multiplex enable set ssl-certificate "Cert-Serv1-3" set ssl-http-location-conversion enable next end
Thanks in advance,
FloToHu

