All of lore.kernel.org
 help / color / mirror / Atom feed
* come back the traffic on same interface which it input
@ 2011-06-15  2:31 Usuário do Sistema
  2011-06-15 18:58 ` Steven Kath
  0 siblings, 1 reply; 3+ messages in thread
From: Usuário do Sistema @ 2011-06-15  2:31 UTC (permalink / raw)
  To: Mail List - Netfilter

hello everyone, I have two ISPs in my firewall that are ADSLs lines. I
wish that all trafic input in wan1 ( ISP1 ) come back on it. but this
isn't happening because the firewall gateway is ISP2 ( wan2 ) so all
input traffic by ISP1 ( wan1 ) doesn't work because the firewall
forwards all traffic as it as your gateway wich is ISP2

for exemplo, I have a http service on this firewall and when I attempt
 access it from Internet doesn't work because it's on my ISP1.

how I can do for all input traffic on wan1 come back on it and not on
wan2 wich is the firewall gateway ??

any tips are welcome

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: come back the traffic on same interface which it input
  2011-06-15  2:31 come back the traffic on same interface which it input Usuário do Sistema
@ 2011-06-15 18:58 ` Steven Kath
  2011-06-16  0:37   ` Usuário do Sistema
  0 siblings, 1 reply; 3+ messages in thread
From: Steven Kath @ 2011-06-15 18:58 UTC (permalink / raw)
  To: Usuário do Sistema; +Cc: Mail List - Netfilter

On Tue, 2011-06-14 at 23:31 -0300, Usuário do Sistema wrote:
> hello everyone, I have two ISPs in my firewall that are ADSLs lines. I
> wish that all trafic input in wan1 ( ISP1 ) come back on it. but this
> isn't happening because the firewall gateway is ISP2 ( wan2 ) so all
> input traffic by ISP1 ( wan1 ) doesn't work because the firewall
> forwards all traffic as it as your gateway wich is ISP2
> 
> for exemplo, I have a http service on this firewall and when I attempt
>  access it from Internet doesn't work because it's on my ISP1.
> 
> how I can do for all input traffic on wan1 come back on it and not on
> wan2 wich is the firewall gateway ??
> 
> any tips are welcome

Here is a good start for a simple implementation:

http://lartc.org/howto/lartc.rpdb.multiple-links.html

If you need to be more selective, you can use iptables markings to get
finer control:

http://linux-ip.net/html/adv-multi-internet.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: come back the traffic on same interface which it input
  2011-06-15 18:58 ` Steven Kath
@ 2011-06-16  0:37   ` Usuário do Sistema
  0 siblings, 0 replies; 3+ messages in thread
From: Usuário do Sistema @ 2011-06-16  0:37 UTC (permalink / raw)
  To: Steven Kath; +Cc: Mail List - Netfilter

Thank you Steven, it's working as your as below

Em 15 de junho de 2011 15:58, Steven Kath <steven.kath@vyatta.com> escreveu:
> On Tue, 2011-06-14 at 23:31 -0300, Usuário do Sistema wrote:
>> hello everyone, I have two ISPs in my firewall that are ADSLs lines. I
>> wish that all trafic input in wan1 ( ISP1 ) come back on it. but this
>> isn't happening because the firewall gateway is ISP2 ( wan2 ) so all
>> input traffic by ISP1 ( wan1 ) doesn't work because the firewall
>> forwards all traffic as it as your gateway wich is ISP2
>>
>> for exemplo, I have a http service on this firewall and when I attempt
>>  access it from Internet doesn't work because it's on my ISP1.
>>
>> how I can do for all input traffic on wan1 come back on it and not on
>> wan2 wich is the firewall gateway ??
>>
>> any tips are welcome
>
> Here is a good start for a simple implementation:
>
> http://lartc.org/howto/lartc.rpdb.multiple-links.html
>
> If you need to be more selective, you can use iptables markings to get
> finer control:
>
> http://linux-ip.net/html/adv-multi-internet.html
>
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-06-16  0:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-15  2:31 come back the traffic on same interface which it input Usuário do Sistema
2011-06-15 18:58 ` Steven Kath
2011-06-16  0:37   ` Usuário do Sistema

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.