From owner-freebsd-questions@FreeBSD.ORG Thu Jan 15 23:39:00 2004 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 449F416A4CE for ; Thu, 15 Jan 2004 23:39:00 -0800 (PST) Received: from jawa.at (jawa.at [213.229.17.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4AF4543D45 for ; Thu, 15 Jan 2004 23:38:58 -0800 (PST) (envelope-from michael.hollmann@jawa.at) Received: from jawa.at (holly.jawa.at [192.168.200.62]) by jawa.at (8.12.9p2/8.12.8) with ESMTP id i0G7ch48009616; Fri, 16 Jan 2004 08:38:48 +0100 (CET) (envelope-from michael.hollmann@jawa.at) Message-ID: <400795FF.2070304@jawa.at> Date: Fri, 16 Jan 2004 08:42:55 +0100 From: Michael Hollmann User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: de-de, de MIME-Version: 1.0 To: Stanley Chan References: <400752A8.566F67AE@cyberec.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new cc: freebsd-questions@freebsd.org Subject: Re: NAT and DHCP 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, 16 Jan 2004 07:39:00 -0000 hello, add following to: ================ /etc/rc.conf ------------ firewall_type="open" firewall_enable="YES" firewall_quiet="NO" natd_enable="YES" natd_flags="-f /etc/natd.conf" natd_interface="rl0" gateway_enable="YES" /etc/natd.conf -------------- use_sockets yes Kernelkonfiguration /usr/src/sys/i386/conf/ cp GENERIC FIREWALL vi FIREWALL // add this to your kernel options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=10 options IPFIREWALL_DEFAULT_TO_ACCEPT options IPFIREWALL_FORWARD options IPDIVERT options DUMMYNET options PMAP_SHPGPERPROC=300 config FIREWALL cd ../../compile/FIREWALL make depend make make install // oder make depend && make && make install i hope that´s what you are looking for. greetings michael Stanley Chan schrieb: > Dear friends, > > I am running my servers with FreeBSD 4.8 Release and I am planning to > use the NAT and DHCP functions to let my local area network machines to > access the internet. Could you tell me where can I find these > information's and documents as I could you quite understand the > materials on the handbook. The examples on the handbook are not > adequate. > > Thanks very much for your assistance. > > Yours sincerely, > > Stanley > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Mit freundlichen Grüßen Michael Hollmann JAWA Management Software GmbH A-8041 Graz, Liebenauer Hauptstraße 200 Tel: ++43 (0)316 403274-13 Fax: ++43 (0)316 403274-10 GSM: ++43 (0)676 4101431 E-Mail: michael.hollmann@jawa.at Web: http://www.jawa.at/ News: http://www.jawa.at/news.php/ "Web-Framework für B2B-Applikationen"