From owner-freebsd-questions@FreeBSD.ORG Fri May 20 04:23:41 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA2AB16A4CE for ; Fri, 20 May 2005 04:23:41 +0000 (GMT) Received: from mail1.acecape.com (mail1.acecape.com [66.114.74.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7785043D79 for ; Fri, 20 May 2005 04:23:41 +0000 (GMT) (envelope-from lists@natserv.com) Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by mail1.acecape.com (8.12.11/8.12.11) with ESMTP id j4K4Ne5T001921; Fri, 20 May 2005 00:23:40 -0400 Date: Fri, 20 May 2005 00:23:40 -0400 (EDT) From: Francisco Reyes X-X-Sender: fran@zoraida.natserv.net To: Wisut Ponpattana In-Reply-To: Message-ID: <20050520001939.B25100@zoraida.natserv.net> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: questions@freebsd.org Subject: Re: Can't run natd after upgrade to 5.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2005 04:23:42 -0000 On Fri, 20 May 2005, Wisut Ponpattana wrote: > Look back at my configuration file. Sure enough, at the bottom are > options IPFIREWALL > options IPDIVERT How about /etc/rc.conf? firewall_enable="YES" firewall_logging="YES" # Set to YES to enable events logging firewall_quiet="NO" firewall_type="simple" #Whatever type you have been using.. gateway_enable="YES" # IF this machine will be a gateway natd_enable="YES" # Enable natd (if firewall_enable == YES). natd_flags="-f /etc/natd.conf" # Set rules file for the NAT daemon natd_interface="ed0" # Public/external interface or IPaddress to use. network_interfaces="fxp0 ed0 lo0" replace natd_interface with whatever your public interface is.. Also I spent nearly 2 days tracking down some problems.. and they got fixed after adding the network_interfaces... It seems the code to automatically detect the cards doesn/wasn't working..