Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 May 1999 20:15:26 -0500
From:      "Kevin Bogac" <kbogac@ibm.net>
To:        <freebsd-questions@freebsd.org>
Subject:   Re: natd question
Message-ID:  <012701be9827$40a2cc30$0701a8c0@ibm.net>
References:  <001c01be9766$cf4979f0$0701a8c0@ibm.net> <008901be97ce$b9c97f40$f9fbf8cf@megared.net.mx>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks! I misunderstood what I read. I though I only needed one of the
kernel options not all four. I guess I should learn to ask questions sooner.
Must be a gender thing. Oh well, I didn't want to keep all of my hair
forever anyway.

----- Original Message -----
From: Alejandro Ramírez <ales@megared.net.mx>
To: Kevin Bogac <kbogac@ibm.net>; <freebsd-questions@freebsd.org>
Sent: Thursday, May 06, 1999 9:42 AM
Subject: RE: natd question


>
> Hi,
>
>     You should try to recompile your kernel with the following options
>
> options         IPFIREWALL
> options         IPFIREWALL_VERBOSE
> options         IPFIREWALL_DEFAULT_TO_ACCEPT
> options         IPDIVERT
>
> The first line includes basic IP Firewall support. Second line configures
> ipfw to be able to log accepted or rejected packets. Third line is very
> important. It does exactly what it says: accept any connections and
packets
> from anywhere by default, and the fourth line is for divert pakages to
natd.
>
> Make sure that your machine is acting as a gateway.  This can be done by
> specifying the line gateway_enable=YES in /etc/rc.conf, and also you must
to
> specify firewall_enable=YES, and in firewall_type=UNKNOWN in /etc/rc.conf,
> at this moment natd should work but the firewall is completely open, so
you
> must close anything you want from now.
>
> Ales
>
> I cannot get natd to work. I have searched through all of the information
I
> can find and my configuration seems correct. If I enable natd the
interface
> blocks traffic. I'm getting a line in the system messages that says
> "/kernel: IP packet filtering initialized, divert disabled, rule-based
> forwarding disabled, logging disabled". I built the kernel with the two
> additional options. Did I miss something? Does the default rc.firewall
work?
>
> Thanks,
> Kevin
>
>



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?012701be9827$40a2cc30$0701a8c0>