Hello List,

I'd like to do a similar thing like this:

web_servers = "{ 10.0.0.10, 10.0.0.11, 10.0.0.13 }"

rdr on $ext_if proto tcp from any to any port 80 -> $web_servers \
    round-robin sticky-address


But I'd like to define multiple ports and I'd like to loop through the ports.


So like this: (but of course this is not working)
web_ports = "{ 88, 81, 82 }"
web_server = "{ 192.168.1.1 }"

rdr on $ext_if proto tcp from any to any port 80 -> $web_server port $web_ports round-robin sticky-address

Is it possible to do something like this? I'd like to run 3 or more http servers on the same host on different ports, and I'd like to redirect the request received to port 80 to a random port from the $web_ports list.

Thanks in advance

--
Adam PAPAI
D i g i t a l Influence
http://www.digitalinfluence.hu
E-mail: [EMAIL PROTECTED]
Phone: +36 30 33-55-735 (Hungary)

Reply via email to