Re: [CentOS] Forward http traffic

2014-01-09 Thread Nikolaos Milas
On 8/1/2014 8:28 μμ, Les Mikesell wrote: The concept doesn't even make sense for TCP connections where the stack requires acks and sequencing. Are you trying to bridge to a capture device or something? Thank you all for your enlightening feedback, which helped me better understand my

Re: [CentOS] Forward http traffic

2014-01-08 Thread Nikolaos Milas
On 7/1/2014 6:19 μμ, Antonio da Silva Martins Junior wrote: If you put it that way only xxx will receive packets, to balance betwin both of them you will need this: -A PREROUTING -s 10.250.250.0/24 -p tcp -m tcp --dport 8080 -j DNAT --to-destination xxx.xxx.xxx.xxx-yyy.yyy.yyy.yyy:80

Re: [CentOS] Forward http traffic

2014-01-08 Thread Antonio da Silva Martins Junior
- Nikolaos Milas nmi...@noa.gr escreveu: De: Nikolaos Milas nmi...@noa.gr Para: CentOS mailing list centos@centos.org Enviadas: Quarta-feira, 8 de Janeiro de 2014 6:43:16 (GMT-0300) Auto-Detected Assunto: Re: [CentOS] Forward http traffic On 7/1/2014 6:19 μμ, Antonio da Silva Martins

Re: [CentOS] Forward http traffic

2014-01-08 Thread Nikolaos Milas
On 8/1/2014 11:54 πμ, Antonio da Silva Martins Junior wrote: Well, I had only used with a range. Maybe you can take a look on a software load-balancer, like haproxy, or use something like nginx. Then forward to the load-balancer instead to the servers. Thanks, Actually, I don't want load

Re: [CentOS] Forward http traffic

2014-01-08 Thread Antonio da Silva Martins Junior
- Nikolaos Milas nmi...@noa.gr escreveu: De: Nikolaos Milas nmi...@noa.gr Para: CentOS mailing list centos@centos.org Enviadas: Quarta-feira, 8 de Janeiro de 2014 11:02:48 (GMT-0300) Auto-Detected Assunto: Re: [CentOS] Forward http traffic On 8/1/2014 11:54 πμ, Antonio da Silva Martins

Re: [CentOS] Forward http traffic

2014-01-08 Thread John Doe
From: Nikolaos Milas nmi...@noa.gr Actually, I don't want load balancing; I want incoming http traffic (to port 8080) to be forwarded to *ALL* defined target IP addresses. Could you describe the traffic exchange you expect...? 1. http request to 8080. 2. request is forwarded to n servers on

Re: [CentOS] Forward http traffic

2014-01-08 Thread Darr247
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

Re: [CentOS] Forward http traffic

2014-01-08 Thread Joseph Spenner
- Nikolaos Milas nmi...@noa.gr escreveu: De: Nikolaos Milas nmi...@noa.gr Para: CentOS mailing list centos@centos.org Enviadas: Quarta-feira, 8 de Janeiro de 2014 11:02:48 (GMT-0300) Auto-Detected Assunto: Re: [CentOS] Forward http traffic On 8/1/2014 11:54 πμ, Antonio da Silva

Re: [CentOS] Forward http traffic

2014-01-08 Thread Les Mikesell
On Wed, Jan 8, 2014 at 11:50 AM, Joseph Spenner joseph85...@yahoo.com 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. What is the goal (other than forward 1 request to 2 servers)? It would kinda

Re: [CentOS] Forward http traffic

2014-01-08 Thread Steve Clark
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

Re: [CentOS] Forward http traffic

2014-01-08 Thread John R Pierce
On 1/8/2014 5: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. that doesn't make any sense. a SYN packet comes in, is forwarded to serverA and serverB both servers reply with

Re: [CentOS] Forward http traffic

2014-01-08 Thread Brian Miller
On Wed, 2014-01-08 at 11:23 -0800, John R Pierce wrote: that doesn't make any sense. a SYN packet comes in, is forwarded to serverA and serverB both servers reply with an 'ack' man, is the client tcp stack going to be confused! He didn't say anything about both servers replying,

Re: [CentOS] Forward http traffic

2014-01-08 Thread Les Mikesell
On Wed, Jan 8, 2014 at 1:34 PM, Brian Miller cen...@fullnote.com wrote: that doesn't make any sense. a SYN packet comes in, is forwarded to serverA and serverB both servers reply with an 'ack' man, is the client tcp stack going to be confused! He didn't say anything about both

[CentOS] Forward http traffic

2014-01-07 Thread Nikolaos Milas
Hello, On CentOS 6.5 x86_64 I have (/etc/sysconfig/iptables): *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] :RH-Firewall-1-INPUT - [0:0] -A INPUT -j RH-Firewall-1-INPUT -A FORWARD -j RH-Firewall-1-INPUT -A RH-Firewall-1-INPUT -i lo -j ACCEPT -A RH-Firewall-1-INPUT -p

Re: [CentOS] Forward http traffic

2014-01-07 Thread Vipul Agarwal
On Tue, Jan 7, 2014 at 12:28 PM, Nikolaos Milas nmi...@noa.gr wrote: Hello, On CentOS 6.5 x86_64 I have (/etc/sysconfig/iptables): *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] :RH-Firewall-1-INPUT - [0:0] -A INPUT -j RH-Firewall-1-INPUT -A FORWARD -j

Re: [CentOS] Forward http traffic

2014-01-07 Thread Leon Fauster
Am 07.01.2014 um 15:01 schrieb Vipul Agarwal vi...@nuttygeeks.com: On Tue, Jan 7, 2014 at 12:28 PM, Nikolaos Milas nmi...@noa.gr wrote: Hello, On CentOS 6.5 x86_64 I have (/etc/sysconfig/iptables): *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0]

Re: [CentOS] Forward http traffic

2014-01-07 Thread Antonio da Silva Martins Junior
- Nikolaos Milas nmi...@noa.gr escreveu: De: Nikolaos Milas nmi...@noa.gr Para: centos@centos.org Enviadas: Terça-feira, 7 de Janeiro de 2014 10:28:33 (GMT-0300) Auto-Detected Assunto: [CentOS] Forward http traffic Hello, On CentOS 6.5 x86_64 I have (/etc/sysconfig/iptables