From mboxrd@z Thu Jan 1 00:00:00 1970 From: Emmanuel Guiton Subject: NAPT with several IP addresses? Date: Fri, 21 Nov 2003 11:36:34 +0200 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <3FBDDCA2.5030307@netlab.hut.fi> Reply-To: emmanuel@netlab.hut.fi Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Return-path: To: netfilter-devel Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org Hei! I was looking at the Linux Netfilter Hacking HOWTO and at the source code in ip_nat_proto_tcp.c and I realized that doing NAPT with several ports is not supported, am I right? I mean, in the HOWTO it's written "If IP_NAT_RANGE_PROTO_SPECIFIED isn't set, it means that the user is doing NAT, not NAPT". Well, we could also use a range of IP addresses and still perform NAPT, couldn't we? Still this possibility is not implemented, isn't it? Anyway, that's just a remark to be sure that I'm not misunderstanding the code, nothing more. Emmanuel