Re: Forward http traffic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 01/08/2014 11:32 AM, Darr247 wrote:
> On 2014-01-08 8:02 AM, Nikolaos Milas wrote:
>> Actually, I don't want load balancing; I want incoming http traffic
>> (to port 8080) to be forwarded to *ALL* defined target IP addresses.
> Sometimes the correct answer is, "you can't do that."  :)
>
> You can talk TO port 80 on all the defined target IP addresses, but not
> FROM port 8080 on a single IP address.
Please explain how you do that with iptables.
Thanks.
>
> You could define a different outside port to forward to port 80 on each
> internal IP address, though.
> e.g.
> forward 8081 to 80 on machine1
> forward 8082 to 80 on machine2
> forward 8083 to 80 on machine3
> forward 8084 to 80 on machine4
> forward 8085 to 80 on machine5
> et cetera
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>


-- 
Stephen Clark
*NetWolves*
Director of Technology
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.clark@xxxxxxxxxxxxx
http://www.netwolves.com
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux