Preventing ICMP Redirects? (was: Re: [LARTC] HTTP only works on second try from doublely NAT'ed windows box)

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx - http://www.ime.usp.br/~rbrito/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux