From owner-freebsd-questions Sat Oct 16 16: 3:44 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.pacificnet.com.mx (mail.pacificnet.com.mx [148.245.234.2]) by hub.freebsd.org (Postfix) with ESMTP id 16F6B14D35 for ; Sat, 16 Oct 1999 16:03:39 -0700 (PDT) (envelope-from finukai@aguamodelo.com.mx) Received: from dka--cass (ppp70-cul.netxperts.org [148.245.234.70] (may be forged)) by mail.pacificnet.com.mx (8.9.3/8.9.3) with SMTP id RAA76285 for ; Sat, 16 Oct 1999 17:04:51 -0700 (PDT) (envelope-from finukai@aguamodelo.com.mx) Message-ID: <000701bf1833$d982f420$46eaf594@dka--cass> From: "Ing. Fernando Inukai" To: Subject: Natd Date: Sat, 16 Oct 1999 17:09:13 -0700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0004_01BF17F9.2B681440" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0004_01BF17F9.2B681440 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am trying to run natd on a Freebsd 3.2 running DHCP because I am = connected to a Cable company.=20 When I enable firewall, I stop having conectivity to the outside world. = I modified de kernel with options IPFIREWALL, IPDIVERT, in rc.conf I = included gateway_enable=3DYES, firewall_enable=3DYES, in services I have = natd 8668/divert and the only rules I have in rc.firewall are: /sbin/ipfw -f flush /sbin/ipfw add divert natd all from any to any via ed1 /sbin/ipfw add pass all from any to any what else do I need? ------=_NextPart_000_0004_01BF17F9.2B681440 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am trying to run natd on a Freebsd = 3.2 running=20 DHCP because I am connected to a Cable company.
When I enable firewall, I stop = having=20 conectivity to the outside world. I modified de kernel  with = options=20 IPFIREWALL, IPDIVERT, in rc.conf  I included gateway_enable=3DYES,=20 firewall_enable=3DYES, in services I have natd 8668/divert and the only = rules I=20 have in rc.firewall are:
 
/sbin/ipfw -f flush
/sbin/ipfw add = divert natd=20 all from any to any via ed1
/sbin/ipfw add pass all from any to any
 
what else do I = need?
------=_NextPart_000_0004_01BF17F9.2B681440-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message