From owner-freebsd-newbies Fri May 4 8:37: 6 2001 Delivered-To: freebsd-newbies@freebsd.org Received: from envoy.cythereinc.com (6321146195.cythereinc.com [63.211.46.195]) by hub.freebsd.org (Postfix) with ESMTP id D93C837B423 for ; Fri, 4 May 2001 08:37:02 -0700 (PDT) (envelope-from greg.diamond@nurunnewyork.com) Received: by 6321146195.cythereinc.com with Internet Mail Service (5.5.2650.21) id ; Fri, 4 May 2001 11:36:58 -0400 Message-ID: <1116383010B7D31182A900508B8B8605B01536@6321146195.cythereinc.com> From: Greg Diamond To: "'freebsd-newbies@freebsd.org'" Subject: FreeBSD gateway - what am i missing? Date: Fri, 4 May 2001 11:36:57 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I am trying to set up a FreeBSD box to act as a gateway (+ firewall/nat) I set up a box with 2 nic cards: rl0: IP 111.222.33.44 netmask 255.255.255.0 #public ip (static) - connected to DSL Modem dc0: IP 192.168.1.1 netmask 255.255.255.0 #internal ip - connected out to hub gateway_enabled="yes" default_router 111.222.33.1 #my isp assigned gateway i re-compiled the kernel to include options IPFIREWALL options IPDIVERT i connected my NT Server to the hub and assigned it IP 192.168.1.2 netmask 255.255.255.0 default gateway 192.168.1.1 i edited the `hosts` files on both my FreeBSD and NT machines also edited my desktop firewall on my NT box to allow local traffic i figured at this point i should be able to at least have my machines ping each other, but to no avail NT to FreeBSD --> request time out FreeBSD to NT --> `Permission Denied` i tried adding to no avail: route add -net 192.168.1.1/16 -interface dc0 and tried running the routed which just storms me with permission denied i have netstart run at boot time from the rc.local script what step am i missing? is there other info of my setup/config i need to post? i'm rather new to unix, and using FreeBSD as my learning box instead of a Linux distro. I've have pretty good luck so far the past few weeks with it, setting up x/kde/apache/mysql/php as a server/workstation with success.. been pretty happy as a newbie so far ;-) but stumped with this issue ;-( any help, or maybe a link to a good newbie walk thru for this setup.. i've been searching and hacking at it for a while without success. thanx Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message