Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2001 23:11:20 +0000
From:      Josh Paetzel <friar_josh@webwarrior.net>
To:        Donnie Jones <donniejones18@yahoo.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: FreeBSD gateway/router setup; needs help.
Message-ID:  <20011210231120.B397@twincat.vladsempire.net>
In-Reply-To: <20011211030146.34292.qmail@web20601.mail.yahoo.com>; from donniejones18@yahoo.com on Mon, Dec 10, 2001 at 07:01:46PM -0800
References:  <20011211030146.34292.qmail@web20601.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 10, 2001 at 07:01:46PM -0800, Donnie Jones wrote:
> Hello all,
> 
> I know I've been bothering you all for a bit about my
> gateway/router setup for my LAN, but I am still have
> problems (obviously).  :)
> 
> I've attached the configuration files that I am using
> in hopes someone will see maybe an error that I can't
> find.
> 
> I am using freebsd 4.4 with a recompiled kernel to
> include:
> options IPFIREWALL
> options IPFIREWALL_LOG
> options IPDIVERT
> 
> 
> My LAN is able to connect to each other and ping each
> other, but the computers on the internal network can't
> access the outside internet.
> 
> Is there any dns configurations I may need?
> Or a change to my routing tables to route from the
> internal network to the outside access?
> 
> Thanks for your time,
> 
> -Donnie

In rc.conf: 
remove natd_interface="fxp0"
remove natd_flags=""
remove firewall_enable="YES"
remove firewall_type="open"
add ipfilter_enable="YES"
add ipfilter_rules="/etc/ipf.rules"

For the configuration of ipnat or ipfilter, take a look at 
/usr/src/contrib/ipfilter/rules
Tons of neat examples.


You also might note that there is a lot more documentation for ipfw 
than for ipf in the freebsd handbook.  Not saying that one is better 
than the other, just commenting about docs.

Josh


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011210231120.B397>