From owner-freebsd-questions Mon Feb 22 18:50:25 1999 Delivered-To: freebsd-questions@freebsd.org Received: from aauu.aaweber.com (cs40-181.austin.rr.com [24.93.40.181]) by hub.freebsd.org (Postfix) with ESMTP id 8BE3E10EBD for ; Mon, 22 Feb 1999 18:50:14 -0800 (PST) (envelope-from aaweber@austin.rr.com) Received: (from aaweber@localhost) by aauu.aaweber.com (8.9.1/8.9.1) id UAA05079; Mon, 22 Feb 1999 20:50:11 -0600 (CST) Date: Mon, 22 Feb 1999 20:50:11 -0600 From: Alan Weber To: MPN Cc: freebsd-questions@freebsd.org Subject: Re: NATD question Message-ID: <19990222205010.A5053@austin.rr.com> References: <000d01be5ed4$2c02a0c0$04c809c0@kramer.cms.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <000d01be5ed4$2c02a0c0$04c809c0@kramer.cms.com>; from MPN on Mon, Feb 22, 1999 at 09:28:16PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You are almost there, do the following: natd -interface ed1 -dynamic ipfw -f flush ipfw add divert natd all from any to any via ep1 ipfw add pass all from any to any I am assuming that you already can login correctly and maintain the IP address via DHCP. I am successfully using a freebsd gateway here in Austin to connect to the net. I am using 2.2.8-stable. I would recommend that you disable inetd and add ssh for connection to your server offsite. The only problem I am having is that RR changes subnets every so often and that confuses the ISC DHCP client. If just the last quad changes then no problem. On Mon, Feb 22, 1999 at 09:28:16PM -0500, MPN wrote: --> I'm trying to have my whole network access the internet through my Road Runner cable modem which is connected to my FreeBSD-2.2.6 server. I've gotten my server onto the internet. I can go to web sites, ping, ftp, telnet, etc... I've also recompiled the kernel to support IPFIREWALL and IPDIVERT. I have rc.conf setting firewall type to "open". I also have "Gateway_enable="yes""My problem is that I'm unsure how to configure NAT to do the "dirty work." I have a FreeBSD server IP 192.9.200.1 on interface ed0 and my network goes up to 192.9.200.20. I have DHCP reciving an IP of 24.92.246.138 for my cable modem which is connected to interface ed1. Could someone please give me specific instructions on how to get my network conected to the internet throught this server? I'm desperate for help. Many people have helped me this far...thank you! I need someone to give me instructions including exactly what I would type to get this up and running. All help is GREATLY appreci! ated. Thanks in advance and keep up the good work. --> -- --> Mike Neuman - President of CMS --> -- -- When I was a kid I had to rub sticks together to multiply and divide numbers. A calculator was a job description. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message