Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Oct 1999 17:09:13 -0700
From:      "Ing. Fernando Inukai" <finukai@aguamodelo.com.mx>
To:        <questions@freebsd.org>
Subject:   Natd
Message-ID:  <000701bf1833$d982f420$46eaf594@dka--cass>

next in thread | raw e-mail | index | archive | help
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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.2106.6"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>I am trying to run natd on a Freebsd =
3.2 running=20
DHCP because I am connected to a Cable company. </FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>When I enable firewall, I stop =
having=20
conectivity to the outside world. I modified de kernel&nbsp; with =
options=20
IPFIREWALL, IPDIVERT, in rc.conf&nbsp; 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:</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>/sbin/ipfw -f flush</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT><FONT size=3D2>/sbin/ipfw add =
divert natd=20
all from any to any via ed1</FONT></DIV>
<DIV><FONT size=3D2>/sbin/ipfw add pass all from any to any</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>what else do I =
need?</FONT></DIV></BODY></HTML>

------=_NextPart_000_0004_01BF17F9.2B681440--



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?000701bf1833$d982f420$46eaf594>