From owner-freebsd-questions Wed May 29 12:15:55 2002 Delivered-To: freebsd-questions@freebsd.org Received: from archive.e-u-a.net (rrcs-midsouth-24-199-181-242.biz.rr.com [24.199.181.242]) by hub.freebsd.org (Postfix) with ESMTP id 750F637B409 for ; Wed, 29 May 2002 12:15:42 -0700 (PDT) Received: from armageddon (e-u-a.net [24.199.181.242]) by archive.e-u-a.net (8.12.1/8.12.1) with SMTP id g4TJFm2o030631; Wed, 29 May 2002 15:15:48 -0400 (EDT) (envelope-from ecrist@secure-computing.net) Message-ID: <005301c20745$35bc0e90$fe01a8c0@armageddon> Reply-To: "Eric F Crist" From: "Eric F Crist" To: "G D McKee" , "Pablo Delgado" , Cc: "Jonathan Chen" References: <20020529181950.A8292@grimoire.chen.org.nz> <004d01c2073d$f1c34160$c800a8c0@p1000> Subject: Re: GATEWAY PROBLEMS Date: Wed, 29 May 2002 14:15:33 -0500 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.2600.0000 Disposition-Notification-To: "Eric F Crist" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 Looks to me as if you're missing some NAT configuration. Try adding: natd_enable="YES" natd_interface="" firewall_type="open" Make sure options IPFIREWALL options IPDIVERT both appear in your kernel config. Eric F Crist President/Sys Admin AdTech Integrated Systems, Inc. http://www.adtechintegrated.com ----- Original Message ----- From: "G D McKee" To: "Pablo Delgado" ; Cc: "Jonathan Chen" Sent: Wednesday, May 29, 2002 1:23 PM Subject: Re: GATEWAY PROBLEMS > Hi > > On your gateway machine you don't want a default gateway as when you dial > the internet the default gateway should be out there somewhere - at your > ISP! On the other machines behind your FreeBSD box then set the default > gateway to be the internal ip address of the FreeBSD Gateway box - > 192.168.1.1. > > Trust this helps > > Gordon > ----- Original Message ----- > From: "Pablo Delgado" > To: > Cc: "Jonathan Chen" > Sent: Wednesday, May 29, 2002 5:16 PM > Subject: Re: GATEWAY PROBLEMS > > > > There are three computers total: Internal IP > > 1) FreeBsd Gateway Machine 192.168.1.1 > > 2) FreeBSD Workstation 192.168.1.2 > > I am using dial-up as internet uplink. > > > > > > The contents of the rc.conf on the gateway machine: > > # -- sysinstall generated deltas -- # Tue Mar 19 00:54:32 2002 > > # Created: Tue Mar 19 00:54:32 2002 > > # Enable network daemons for user convenience. > > # Please make all changes to this file, not to /etc/defaults/rc.conf. > > # This file now contains just the overrides from /etc/defaults/rc.conf. > > gateway_enable="YES" > > hostname="localhost" > > inetd_enable="YES" > > kern_securelevel_enable="NO" > > linux_enable="YES" > > moused_enable="YES" > > nfs_reserved_port_only="YES" > > sendmail_enable="YES" > > sshd_enable="YES" > > # -- sysinstall generated deltas -- # Tue Mar 19 02:14:45 2002 > > ifconfig_de0="inet 192.168.1.1 netmask 255.255.255.0" > > defaultrouter="192.168.1.1" > > will be bringing in aprox. 2 other computers. > > The other workstations is connected directly to the gateway machine though > a > > crossover cable. > > > > NOTE: There is good connection and I will be bringing in aprox. 2 other > > computers. > > > > > > > > > > > > > > ----- Original Message ----- > > From: "Jonathan Chen" > > To: "Pablo Delgado" > > Cc: > > Sent: Wednesday, May 29, 2002 2:19 AM > > Subject: Re: GATEWAY PROBLEMS > > > > > > > On Wed, May 29, 2002 at 01:35:45AM -0400, Pablo Delgado wrote: > > > > I have been trying to setup my FreeBSD machine to act as a gateway. > > > > After reading many tutorials nothing seems to work. I have tried by > > > > enable_gateway="YES" in /etc/rc.conf. But that still doesn't work. If > I > > > > am missing something or have a different suggestion please let me > know. > > > > > > You haven't given us enough information. Network description, > interfaces, > > > and as much info about your setup is required before we can help you. > > > Start with giving us the contents of your /etc/rc.conf. > > > -- > > > Jonathan Chen > > > ---------------------------------------------------------------------- > > > "If everything's under control, you're going too slow" > > > - Mario Andretti > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message