From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathaniel Hall Subject: Re: Change outbound ICMP source Date: Mon, 10 Apr 2006 15:18:18 -0500 Message-ID: <443ABD8A.7080002@gmail.com> References: <443A9DA4.30801@gmail.com> Reply-To: nathaniel.d.hall@gmail.com Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii" To: "R. DuFresne" Cc: netfilter@lists.netfilter.org R. DuFresne wrote: > On Mon, 10 Apr 2006, Nathaniel Hall wrote: > >> I have been trying to figure out how to change the source IP address of an >> ICMP packet that originates from the firewall. Here is my application. >> >> Instead of dropping a packet I reject it with ICMP host unreachable messages. >> I would like to make it appear that the firewall isn't there, so I would like to >> change the source IP address to be that of our upstream router. How would >> I go about doing this? > > by blocking the ICMP's at that upstream router. That doesn't achieve what I want. If a TCP connection is rejected at the firewall, then blocking ICMP at the upstream router will block the host-unreachable from going out, not make it seem as if the router is the source. -- Nathaniel Hall, GSEC GCFW GCIA