From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rogerio Brito rbrito@iname.com Date: Sun, 11 Feb 2001 04:36:43 +0000 Subject: Preventing ICMP Redirects? (was: Re: [LARTC] HTTP only works on second try from doublely NAT'ed wi Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org
On Feb 10 2001, bert hubert wrote:
> You can, I think, but you need to be very sure that your NAT machine
> isn't sending out any ICMP Redirects.

	I've been bitten by these ICMP Redirects once. Is there any
	way to prevent them from being sent out? Perhaps doing some
	packet filtering of the ICMP Redirects? Even if this works,
	this sure sounds like a dirty solution... :-(

	In that occasion, I was trying to set up a masquerading box
	with only one NIC and two IP addresses (the Internet-valid one
	and the private one), hooking everything in a single hub and
	routing accordingly.

	I don't remember the details (since this was many months ago),
	but the only solution that I could make work was to buy
	another NIC for the masquerading box and put one IP in each
	NIC, doing everything as usual. :-(

	As I don't remember more details of the situation, I'm just
	hoping that this description rings a bell for someone. Any
	explanation of how to make this setup with just one NIC or
	comments on why this shouldn't be done are immensely
	appreciated.


	Thanks in advance, Roger...

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-  Rogerio Brito - rbrito@iname.com - http://www.ime.usp.br/~rbrito/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-