From: "Matthew TenHulzen" Subject: exclude NAT to multiple networks Date: Fri, 15 Nov 2002 17:20:54 -0600 Sender: netfilter-admin@lists.netfilter.org Message-ID: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.netfilter.org I have the following NAT line that excludes NAT'ing to the 192.168.250.0/24 network. $IPTABLES -t nat -A POSTROUTING -o $INET_IFACE -d ! 192.168.250.0/24 -j SNAT --to-source $INET_IP I need to exclude NAT for additional networks, but cannot figure out how to do it. I have tried duplicating this line, but it doesn't work. I also cannot figure out how to specify multiple subnets in the same line. Does anyone know how to exclude traffic to multiple subnets from being NAT'ed?? Matt