Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Antony Stone <Antony@Soft-Solutions.co.uk>
To: netfilter@lists.netfilter.org
Subject: Re: weird netfilter problem
Date: Tue, 29 Jun 2004 16:41:07 +0100	[thread overview]
Message-ID: <200406291641.07680.Antony@Soft-Solutions.co.uk> (raw)
In-Reply-To: <BAY4-F42aqnu1Um0ZZj0001cf7a@hotmail.com>

On Tuesday 29 June 2004 4:27 pm, Mike O wrote:

> Did some more testing seems I can ping the private side of the box, but not
> the public side...this a conntrack issue maybe? then when I ping internal
> from the firewall it works.

I don't see why you should need to ping the public side of the firewall in 
order to route packets through it from the private LAN?

If you think connection tracking may be having problems, what do you get for 
"wc -l </proc/net/ip_conntrack"?   That is a count of the number of 
concurrent connections through (or to / from) the machine.

Regards,

Antony.

> From: Antony Stone <Antony@Soft-Solutions.co.uk>
>
> >Reply-To: netfilter@lists.netfilter.org
> >To: netfilter@lists.netfilter.org
> >Subject: Re: weird netfilter problem
> >Date: Tue, 29 Jun 2004 14:12:02 +0100
> >
> >On Tuesday 29 June 2004 2:02 pm, Mike O wrote:
> > > Im trying to track down a problem Im having with iptables. For some
> >reason
> > > the internal machines cannot reach the internet until I ping them from
> >the
> > > iptables box. I check the conntrack tables and there still valid
> > > entries
> >in
> > > there for that machine. if I reboot it works for about 5 minutes then
> > > stops. I tried upgrading the kernel to 2.4.26 and iptables 1.2.11 and
> >the
> > > same problem happens. Any ideas? this was working fine for over 6
> > > months then just starts doing this.
> >
> >Sounds like the client machines can't do ARP resolution for the IP address
> >of the gateway.
> >
> >I would suspect:
> >
> >1. The NIC on the firewall.
> >2. The switch on your LAN.
> >
> >Wait until one of the clients cannot get to the Internet, then examine its
> >ARP
> >cache ("arp -an" on Linux, not sure about other O/Ss), and see if it has a
> >complete entry for the IP address of the firewall's internal interface.
> >
> >Then do your ping and repeat the ARP check.
> >
> >Regards,
> >
> >Antony.

-- 
Microsoft may sell more software than any other company, but McDonald's sell 
more burgers than any other company, and I think the other similarities are 
obvious...

                                                     Please reply to the list;
                                                           please don't CC me.



  reply	other threads:[~2004-06-29 15:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-29 15:27 weird netfilter problem Mike O
2004-06-29 15:41 ` Antony Stone [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-06-29 13:02 Mike O
2004-06-29 13:12 ` Antony Stone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200406291641.07680.Antony@Soft-Solutions.co.uk \
    --to=antony@soft-solutions.co.uk \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox