Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jun 2002 13:01:05 -0500
From:      rahermon@iastate.edu
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   RE: firewall question
Message-ID:  <000001c20996$4cb54e10$8404a8c0@TheGetto>
In-Reply-To: <20020601094500.A4058@sunny.localdomain>

next in thread | previous in thread | raw e-mail | index | archive | help
If I was you I will work with a copy of the file instead. Then change
the value in the /etc/rc.conf to the path and name of your copy, like
this firewall_script="/etc/rc.ipfw" providing you named the file
rc.ipfw.

If it is your ip you are setting then yes, change it. rc.firewall will
tell you for example mine has this:

# set these to your network and netmask and ip
        net="192.0.2.0"
        mask="255.255.255.0"
        ip="192.0.2.1"

so in that case you should.

Regards,
-----Original Message-----
From: owner-freebsd-questions@FreeBSD.ORG
[mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of VB
Sent: Saturday, June 01, 2002 11:45 AM
To: freebsd-questions@FreeBSD.ORG
Subject: firewall question

Hi,

I am trying to set up my firewall, and I am following one of the
O'Reilly
howto's.  I don't see instructions in there for me to edit the
/etc/rc.firewall, but I was looking at that file, and it includes ip
addresses that do not match my actual ip address, netmask, etc.

For instance, it says ip is 192.0.0.1.  Do I need to change these values
to
match my actual fxp0 values?  I would think the O'Reilly would tell me
if I
needed to change those values, but it doesn't.  I would also think that
those values should match the actual values, but they don't.

Can someone help me out here?

Thank you,

Eric

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



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?000001c20996$4cb54e10$8404a8c0>