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>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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="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

[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2920.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello again,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; I am using FreeBSD 4-release, 
and trying to share my internet connection with a win2000 machine.&nbsp; I have 
ed0 as my internet connection, and xl0 as my LAN connection.&nbsp; I added to my 
kernel config the lines:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>options&nbsp;&nbsp;&nbsp; IPFIREWALL</FONT></DIV>
<DIV><FONT face=Arial size=2>options&nbsp;&nbsp;&nbsp; IPDIVERT</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>and added the line:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>firewall_type="open"</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>to my etc/rc.conf.&nbsp; 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.&nbsp; So, 
my problem is, I can't connect to anything, or ping anything, it&nbsp;blocks all 
packets coming in or going out.&nbsp; Does it matter what section of my rc.conf 
I add the firewall_type line?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks again,</FONT></DIV>
<DIV><FONT face=Arial size=2>Generic Player</FONT></DIV></BODY></HTML>
home | help

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