From owner-freebsd-questions Sun Dec 8 10:18:23 2002 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 BF75437B401 for ; Sun, 8 Dec 2002 10:18:21 -0800 (PST) Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44D9A43EC2 for ; Sun, 8 Dec 2002 10:18:21 -0800 (PST) (envelope-from b0w3n@attbi.com) Received: from morpheous (12-227-204-14.client.attbi.com[12.227.204.14]) by sccrmhc01.attbi.com (sccrmhc01) with SMTP id <2002120818182000100r51dve>; Sun, 8 Dec 2002 18:18:20 +0000 Message-ID: <018801c29ee6$302e42c0$020aa8c0@morpheous> From: "bowen" To: Subject: rc.firewall/ipfw/nat Date: Sun, 8 Dec 2002 11:18:16 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 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 Hi all need a little help ,) what I currently have internet --- cable modem(via DHCP) ---[ed0 Smoothwall0.9.9se ed1] --- 10/100Switch --- int network what I want to have internet --- cable modem --- [ "dc0"{FreeBSD4.7-RELEASE}"dc1"]----- 10/100Switch ---- internal network # set these to your outside interface network and netmask and ip oif="dc0" onet="?.?.?.?" <----- DHCP -- how do I set this value? omask="???.???.???.?" DHCP again oip="??.??.??" DHCP # set these to your inside interface network and netmask and ip iif="dc1" inet="192.168.10.0/24" imask="255.255.255.0" iip="192.168.10.1/24" then in the services natd 6668/divert or is it natd 8868/divert or does it matter? I've been trying to do this both with ipfilter and ipfirewall via various how to's found googling and the book The Complete BSD 3rd Edition but I just can't seem to get it to work.. any help would be greatly appreciated Thanks to all of you Rick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message