Using LVS to forward HTTP from port 80 to servers running on port 81
Spencer Tuttle
rodeojones at fastmail.fm
Thu Jul 13 22:36:51 BST 2006
Travis Melhiser wrote:
> I'm pretty new to LVS and can't seem to find the right configuration
> or the right documentation to get my environment set up.
>
> I would like to have requests come to the LVS server on port 80 an
> then have the LVS server forward these requests to the machines in the
> cluster running the web servers on port 81.
>
> Does anyone have an example of how to set this up?
>
> Thanks in advance,
>
> -T
Simply allow port 80 through firewall, enable connection tracking in
iptables, then create VIP using:
ipvsadm -A -t ipaddress:80 ..... etc.
then add real server
ipvsadm -a -t ipaddress:80 -r realserver:81 -m ... etc.
Spencer
Search lvs-users Archives
More information about the lvs-users
mailing list