From mboxrd@z Thu Jan 1 00:00:00 1970 From: "John Black" Subject: Re: DMZ Question Date: Wed, 6 Oct 2004 07:02:44 -0500 Sender: netfilter-bounces@lists.netfilter.org Message-ID: <001c01c4ab9c$63ede740$936ffea9@alpha> References: <7C9884991ADAE0479C14F10C858BCDF591E381@alderaan.smgtec.com> <005e01c4ab56$d7201e40$02c8a8c0@floydian> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.netfilter.org > In order to 'bind' any number of DNAT addresses to the firewall, you >have two choices. >1. Actually bind the IP address to the physical interface, such as: >ip addr add w.x.y.z/24 dev eth1 would w.x.y.z be the private address or public address? >This will then get the DNAT from iptables. >iptables -t nat -A PREROUTING --destination w.x.y.z -j DNAT --to >${My_NEW_ADDR} would w.x.y.z be the private address or public address? thanks John