From owner-freebsd-questions Thu Dec 21 1: 9:23 2000 From owner-freebsd-questions@FreeBSD.ORG Thu Dec 21 01:09:20 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id A4BF337B400 for ; Thu, 21 Dec 2000 01:09:20 -0800 (PST) Received: from rfx-64-6-211-149.users.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Thu, 21 Dec 2000 01:07:43 -0800 Received: (from cjc@localhost) by rfx-64-6-211-149.users.reflexcom.com (8.11.0/8.11.0) id eBL99KV97790; Thu, 21 Dec 2000 01:09:20 -0800 (PST) (envelope-from cjc) Date: Thu, 21 Dec 2000 01:09:20 -0800 From: "Crist J. Clark" To: Alex Obradovic Cc: freebsd-questions@FreeBSD.ORG Subject: Re: natd with class B and class C IP's Message-ID: <20001221010919.A96105@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from alex@montenegro.com on Wed, Dec 20, 2000 at 09:52:11AM -0800 Sender: cjc@rfx-64-6-211-149.users.reflexcom.com Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Dec 20, 2000 at 09:52:11AM -0800, Alex Obradovic wrote: > Do I need to include subnet masks in natd.conf in order to allow redirection > of ports from the Internet (class C) to the internal class B network? > > I used to have FreeBSD box work perfectly with internal C class network. > After the company switched to B class network, I reconfigured the "internal" > NIC, and natd.conf file to reflect new IP addresses. NATD still allows > transparent access to the internet, however redirection of the Internet > requests to internal machines (redirect_port) does not work any longer. > > I checked the firewall settings and it is wide open. > > Any suggestions? Very few things care about Class A, B, and C nets anymore. Some commands default to the correct netmask for their class if not explictly given a mask (e.g. ifconfig(8)). Hard to say what your trouble might be. It'd be a lot easier if you showed us your natd.conf, rc.conf, rc.firewall, and other relavent configuration files. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message