From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florin Andrei Subject: Re: NAT on stateless firewall ? Date: Fri, 03 Aug 2007 12:11:14 -0700 Message-ID: <46B37DD2.8020606@andrei.myip.org> References: <46B26400.7050504@andrei.myip.org> <46B2FB97.3090605@plouf.fr.eu.org> <46B3729A.8030605@andrei.myip.org> Reply-To: netfilter@lists.netfilter.org Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <46B3729A.8030605@andrei.myip.org> 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"; format="flowed" To: netfilter@lists.netfilter.org Florin Andrei wrote: > Grant Taylor wrote: >> >> Dare I ask why you are wanting to use Proxy ARP? > > Well, it's required by DNAT, isn't it? I take that back. I figured it out. I actually tested the idea yesterday, but it failed because one of the test machines was not configured properly. To make proxy ARP work with DNAT, an IP alias must be created on the external interface, with the public IP address of the machine behind the firewall. ip address add XXX.YYY.ZZZ.KKK dev eth0 where XXX.YYY... is the public IP address that corresponds to the private IP address of a server behind the firewall. It's not even necessary to play with proxy_arp in /proc. Just the IP alias and DNAT. -- Florin Andrei http://florin.myip.org/