From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?J=F6rg_Harmuth?= Subject: Re: address ranges for DNAT? Date: Thu, 02 Feb 2006 17:38:27 +0100 Message-ID: <43E23583.6090005@mnemon.de> References: 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: netfilter@lists.netfilter.org Frank.Mayer@knapp-systems.com schrieb: > Hello, > > I need to map a whole /24 network of incoming addresses to a different /24 > network, e.g. > 10.0.1.0/24 -> 1921.168.27.0/24 > such that > 10.0.1.1 is mapped to 192.168.27.1, > 10.0.1.2 is mapped to 192.168.27.2, > and so on to > 10.0.1.254 is mapped to 192.168.27.254 > > Is there any short syntax for this or do I really need to define 254 > single DNAT rules? May be the NETMAP target is usefull. Have a nice time, Joerg