From owner-freebsd-questions Tue Nov 7 9:31:53 2000 Delivered-To: freebsd-questions@freebsd.org Received: from gw.carpoolbc.com (cr45465-a.abtsfd1.bc.wave.home.com [24.113.176.126]) by hub.freebsd.org (Postfix) with ESMTP id B9F3837B4C5 for ; Tue, 7 Nov 2000 09:31:50 -0800 (PST) Received: from localhost (roop@localhost) by gw.carpoolbc.com (8.9.3/8.9.3) with ESMTP id JAA06483; Tue, 7 Nov 2000 09:32:14 -0800 (PST) (envelope-from roop@gw.carpoolbc.com) Date: Tue, 7 Nov 2000 09:31:19 -0800 (PST) From: Roop Nanuwa To: Anthony Fox Cc: Anthony Rubin , questions@FreeBSD.ORG Subject: Re: two ethernets, nat, firewall In-Reply-To: <20001107072526.A8877@misty.cs.virginia.edu> 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 Did you remember to recompile the kernel with: options IPFIREWALL options IPDIVERT It could be that you have all the configuration files right, but your kernel isn't configured properly... RSN On Tue, 7 Nov 2000, Anthony Fox wrote: > > > > You need the following line in /etc/rc.conf: > > > > gateway_enable="YES" > > got this. > > > > > This allows FreeBSD to forward packets. You can change this setting without > > rebooting with the following command: > > > > sysctl -w net.inet.ip.forwarding=1 > > > > How are you starting natd? > > natd gets started in /etc/rc.conf > > dmesg says that both interfaces are on the same irq. they are both > pci cards. is this a problem? if it is, how do i set them to > different irqs? do i have to recompile the kernel? > > thanks, > anthony > > > 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