From owner-freebsd-questions Wed Oct 6 9:35:56 1999 Delivered-To: freebsd-questions@freebsd.org Received: from newt.wiznet.ca (newt.wiznet.ca [216.13.71.13]) by hub.freebsd.org (Postfix) with ESMTP id 49AE2156EC for ; Wed, 6 Oct 1999 09:35:26 -0700 (PDT) (envelope-from scopplestone@wiznet.ca) Received: from ntwkstn (shaun.wiznet.ca [209.82.57.21]) by newt.wiznet.ca (8.8.7/8.8.8) with SMTP id MAA09370 for ; Wed, 6 Oct 1999 12:35:18 -0400 (EDT) (envelope-from scopplestone@wiznet.ca) From: "Shaun" To: Subject: NATD question Date: Wed, 6 Oct 1999 12:37:57 -0400 Message-ID: <000c01bf1019$258fc870$153952d1@ntwkstn.wiznet.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 In-Reply-To: <01bf100f$e90a8d80$0000e9c1@serv2.binep.ac.ru> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Question.... I am trying to use NATD to route a subnet of 8 IP addresses using redirect_address. It works going in but when coming out NATD uses port translation on the IP address assigned to the NAT box. For example: The NAT box has a IP address of (say) 192.168.0.10 outside interface, inside interface 10.1.1.1 a subnet of 192.168.200.216 -> 223 is routed to the above ip address by static routes I have created a natd.conf file containing all the direct translations using redirect_address. I can telnet into say 192.168.200.217 and get redirected correctly to 10.1.1.217, but when 10.1.1.217 telnets out, its address is shown as 192.168.0.10 instead of 192.168.200.217. Which tells me that port translation is working instead of nat. Does NATD work with subnets or only full /24's? I currently have this working on another NAT box using a class C. Regards, Shaun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message