From owner-freebsd-questions Mon Mar 2 14:44:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA04647 for freebsd-questions-outgoing; Mon, 2 Mar 1998 14:44:47 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from netmug.org (perl@netmug.org [207.88.43.66]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA04640 for ; Mon, 2 Mar 1998 14:44:40 -0800 (PST) (envelope-from perl@netmug.org) Received: from localhost (perl@localhost) by netmug.org (8.8.8/NetMUG_1.0.0) with SMTP id OAA06517; Mon, 2 Mar 1998 14:44:26 -0800 (PST) Date: Mon, 2 Mar 1998 14:44:26 -0800 (PST) From: Michael Haro Reply-To: Michael Haro To: "Mulholland, Terry" cc: questions@FreeBSD.ORG Subject: Re: CableModem & LAN setup In-Reply-To: <34FB328F.7870E365@gtn.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 2 Mar 1998, Mulholland, Terry wrote: > I have the following problem. I am trying to setup Freebsd > 2.2.5-RELEASE to allow several win 95 machines access to the internet. > My > connection to the internet is a cablemodem / static IP address. > > The question... > > What am I doing wrong? Or do you need more info? I did not include the > netstat -r but can if you need that information. You need to configure your FreeBSD box as a firewall. Recompile the kernel and add options IPFIREWALL options IPDIVERT to the kernel config first. Then reboot after the reboot, add natd 6668/divert # Network Address Translation socket to /etc/services. Then run /sbin/ipfw -f flush /sbin/ipfw add divert natd all from any to any via /sbin/ipfw add pass all from any to any Then you should be able to run natd -interface and have it work. You should probably check out the natd(8) and ipfw(8) manpages. Let me know if this works, Michael To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message