All of lore.kernel.org
 help / color / mirror / Atom feed
* NAT stops working
@ 2005-04-20 14:50 Daniel Wittenberg
  2005-04-20 15:07 ` Fabien Germain
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Wittenberg @ 2005-04-20 14:50 UTC (permalink / raw)
  To: netfilter

We've got a high-speed wireless and DSL connection so I decided to try
and load-balance the out-going connections.  I run a little script that
does:

route flush scope global
route flush cache
route add default scope global equalize nexthop via <external gw 1> dev
eth0 weight 1 nexthop via <external gw 2> dev eth1

This appears to work for awhile, then incoming connections stop getting
nat'd to their internal addresses.  I reboot or reset the firewall
(flush all the tables and re-run this script) and things are good again
for awhile.  I tried flooding some of the external IP's that are nat'd
and it seems like after a certain amount of traffic the nat just stops
working.  tcpdump shows traffic on the external interface coming in, but
not going out anywhere.

Anyone have ideas on how to debug this further or things to check?

Thanks,
Dan



^ permalink raw reply	[flat|nested] 4+ messages in thread
* RE: NAT stops working
@ 2005-04-20 15:05 Baake, Matthias
  0 siblings, 0 replies; 4+ messages in thread
From: Baake, Matthias @ 2005-04-20 15:05 UTC (permalink / raw)
  To: Daniel Wittenberg; +Cc: Netfilter (E-Mail)

mh could it be that your conntrack table is full (if you use it of course)?
check your syslog for conntrack messages maybe that could be a reason.

greetings 

Matthias Baake

-----Original Message-----
From: netfilter-bounces@lists.netfilter.org
[mailto:netfilter-bounces@lists.netfilter.org]On Behalf Of Daniel
Wittenberg
Sent: Wednesday, April 20, 2005 4:50 PM
To: netfilter@lists.netfilter.org
Subject: NAT stops working


We've got a high-speed wireless and DSL connection so I decided to try
and load-balance the out-going connections.  I run a little script that
does:

route flush scope global
route flush cache
route add default scope global equalize nexthop via <external gw 1> dev
eth0 weight 1 nexthop via <external gw 2> dev eth1

This appears to work for awhile, then incoming connections stop getting
nat'd to their internal addresses.  I reboot or reset the firewall
(flush all the tables and re-run this script) and things are good again
for awhile.  I tried flooding some of the external IP's that are nat'd
and it seems like after a certain amount of traffic the nat just stops
working.  tcpdump shows traffic on the external interface coming in, but
not going out anywhere.

Anyone have ideas on how to debug this further or things to check?

Thanks,
Dan




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

end of thread, other threads:[~2005-04-20 15:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-20 14:50 NAT stops working Daniel Wittenberg
2005-04-20 15:07 ` Fabien Germain
2005-04-20 15:26   ` Daniel Wittenberg
  -- strict thread matches above, loose matches on Subject: below --
2005-04-20 15:05 Baake, Matthias

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.