From owner-freebsd-questions Thu Mar 7 12:14: 1 2002 Delivered-To: freebsd-questions@freebsd.org Received: from slacknet.slacknet.com (slacknet.slacknet.com [204.228.135.180]) by hub.freebsd.org (Postfix) with ESMTP id 8D31737B416 for ; Thu, 7 Mar 2002 12:13:51 -0800 (PST) Received: from rj45 (helo=localhost) by slacknet.slacknet.com with local-esmtp (Exim 3.12 #1 (Debian)) id 16j4Gt-0001XE-00 for ; Thu, 07 Mar 2002 13:13:51 -0700 Date: Thu, 7 Mar 2002 13:13:51 -0700 (MST) From: RJ45 To: freebsd-questions@freebsd.org Subject: problem with ipnat Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hello. I have the following weird problem. This is what my NAT box is doing: map fxp0 from 192.168.100.0/24 ! to 193.206.x.0/24 -> 192.84.z.254/32 I would like to add a subnet like this: map fxp0 from 192.168.100.0/24 ! to 193.206.y.0/24 -> 192.84.z.254/32 In this way I want that DEST packets which are for subnets 193.206.x.0/24 and 193.206.y.0/24 being not natted at all so that I want to use a static route and I do not want them to being natted. I want to NAT only packets which are going out of MY lan and I have a mixed LAN with mixed public and hidden IP. If I add this rule NAT is not working properly and it NATs packets having DEST IP of 193.206.y.0/24 but it should not. The 2 rules together does not work. There is a way to put the 2 rules in only one single rule? thanks Rick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message