From: Aleksandar Milivojevic <amilivojevic@pbl.ca>
To: netfilter@lists.netfilter.org
Subject: Re: Netfilter bug ? NAT'ed connections ignore icmp redirect
Date: Wed, 15 Sep 2004 13:18:10 -0500 [thread overview]
Message-ID: <41488762.60309@pbl.ca> (raw)
In-Reply-To: <20040915133959.GA22165@hswn.dk>
Henrik Stoerner wrote:
> I have a setup where I use a Linux box with netfilter to forward
> tcp connections between a "client" and a "server.
>
> The Linux box has a default gateway defined. However, there are
> multiple other routers on the same network, and the default
> gateway router sends ICMP redirects to inform the Linux box
> which router should be used to reach some destination.
Probably a stupid question. But. Why don't you simply define two
static routes on the NAT box pointing to firewall (packets to server)
and routerC (packets to client)? Or let the router do its job of
actually routing packets instead of generating error messages back to
clients (in which case you would really need one router with 5 interfaces).
IMHO, relying on ICMP redirects to create routes for you is inefficient
and error prone. It's kind of asking for trouble.
--
Aleksandar Milivojevic <amilivojevic@pbl.ca> Pollard Banknote Limited
Systems Administrator 1499 Buffalo Place
Tel: (204) 474-2323 ext 276 Winnipeg, MB R3T 1L7
prev parent reply other threads:[~2004-09-15 18:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-15 13:39 Netfilter bug ? NAT'ed connections ignore icmp redirect Henrik Stoerner
2004-09-15 15:36 ` Jason Opperisano
2004-09-15 20:41 ` Henrik Stoerner
2004-09-15 18:18 ` Aleksandar Milivojevic [this message]
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=41488762.60309@pbl.ca \
--to=amilivojevic@pbl.ca \
--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 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.