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-addressBut 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-addressIs 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: wooh@wooh.hu
Phone: +36 30 33-55-735 (Hungary)
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Amit K. Arora | [RFC] Heads up on sys_fallocate() |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
git: | |
| David Miller | [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Frans Pop | svc: failed to register lockdv1 RPC service (errno 97). |
