Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 May 2000 12:27:10 -0400
From:      "Generic Player" <generic@unitedtamers.com>
To:        <freebsd-newbies@freebsd.org>
Subject:   Firewall + nat
Message-ID:  <003e01bfc72f$3e17a2f0$0100a8c0@x>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_003B_01BFC70D.B6C46610
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello again,

    I am using FreeBSD 4-release, and trying to share my internet =
connection with a win2000 machine.  I have ed0 as my internet =
connection, and xl0 as my LAN connection.  I added to my kernel config =
the lines:

options    IPFIREWALL
options    IPDIVERT

and added the line:

firewall_type=3D"open"

to my etc/rc.conf.  The only guide I could find on setting this up was =
for FreeBSD 2.2 though, and it tells me to edit files that don't exist =
on my system, like /usr/local/sbin/natd.conf.  So, my problem is, I =
can't connect to anything, or ping anything, it blocks all packets =
coming in or going out.  Does it matter what section of my rc.conf I add =
the firewall_type line?

Thanks again,
Generic Player

------=_NextPart_000_003B_01BFC70D.B6C46610
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello again,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; I am using FreeBSD =
4-release,=20
and trying to share my internet connection with a win2000 machine.&nbsp; =
I have=20
ed0 as my internet connection, and xl0 as my LAN connection.&nbsp; I =
added to my=20
kernel config the lines:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>options&nbsp;&nbsp;&nbsp; =
IPFIREWALL</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>options&nbsp;&nbsp;&nbsp; =
IPDIVERT</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>and added the line:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>firewall_type=3D"open"</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>to my etc/rc.conf.&nbsp; The only guide =
I could=20
find on setting this up was for FreeBSD 2.2 though, and it tells me to =
edit=20
files that don't exist on my system, like =
/usr/local/sbin/natd.conf.&nbsp; So,=20
my problem is, I can't connect to anything, or ping anything, =
it&nbsp;blocks all=20
packets coming in or going out.&nbsp; Does it matter what section of my =
rc.conf=20
I add the firewall_type line?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks again,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Generic =
Player</FONT></DIV></BODY></HTML>

------=_NextPart_000_003B_01BFC70D.B6C46610--



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003e01bfc72f$3e17a2f0$0100a8c0>