From owner-freebsd-questions Mon Mar 29 7:26:39 1999 Delivered-To: freebsd-questions@freebsd.org Received: from lsmls02.we.mediaone.net (lsmls02.we.mediaone.net [24.130.1.15]) by hub.freebsd.org (Postfix) with ESMTP id CA9DD14CB7 for ; Mon, 29 Mar 1999 07:26:29 -0800 (PST) (envelope-from gummibear@we.mediaone.net) Received: from gummibear.we.mediaone.net (we-24-130-60-137.we.mediaone.net [24.130.60.137]) by lsmls02.we.mediaone.net (8.8.7/8.8.7) with SMTP id HAA04285 for ; Mon, 29 Mar 1999 07:26:07 -0800 (PST) From: gummibear@we.mediaone.net Message-Id: <3.0.6.32.19990329072531.0079dd30@we.mediaone.net> X-Sender: gummibear@we.mediaone.net X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Mon, 29 Mar 1999 07:25:31 -0800 To: questions@freebsd.org Subject: Gateway & NATD problems Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Okay, I've been pretty much working on this all weekend. I have a cable modem, a FreeBSD box with 2 NIC's, and one Win95 machine. It's setup like this: Win95 FreeBSD CableModem (client) (gateway) (internet) |--------------------|--------------|------> I have chosen to go with the 10.0.0.0 based ethernet address for my home netowrk. Actually, it's not like I have a hub or anything. I just have a pactch cord going from the Win95 machine to one of the network cards in the FreeBSD, and the other FreeBSD NIC is connected to the cable modem. I'd like to use the FreeBSD machine as both a Gateway and Workstation. That way my gf and I won't fight over the computer. Resources I've read: Natd manpage, Complete FreeBSD, FreeBSD Diary. I latter two basically built upon the manpage so they all pretty much said the same thing. --> Recompile a kernel with IPFIREWALL and IPDIVERT. Okay that's done. Then I added this to my rc.conf: # -- sysinstall generated deltas -- # hostname="gummibear.we.mediaone.net" network_interfaces="ed0 ed1 lo0" ifconfig_ed0="inet 10.0.0.1 netmask 255.255.255.0" ifconfig_ed1="inet 24.130.60.137 netmask 255.255.252.0" # My ISP's Goods. firwall_enable="YES" firewall_type="OPEN" firewall_quiet="NO" natd_enable="YES" natd_interface="ed1" gateway_enable="YES" defaultrouter="24.130.60.1" # My ISP's Gateway. So with this configuration I pretty much get nothing. I can't get to the internat at all. I ping the win95 machine though. But that's about it. You're help would be most helpfull. Thank you. Joey "Tearing My Hair Out" Garcia ================================================================ Joey Bear Garcia Downey, CA bear@pacificnet.net ================================================================ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message