Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Mar 2000 16:26:53 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Sam Carleton <scarleton@miltonstreet.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ipfw is not working
Message-ID:  <20000311162653.D98032@hades.hell.gr>
In-Reply-To: <38C9D32F.E8F2254A@miltonstreet.com>; from scarleton@miltonstreet.com on Sat, Mar 11, 2000 at 12:02:36AM -0500
References:  <38C9D32F.E8F2254A@miltonstreet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 11, 2000 at 12:02:36AM -0500, Sam Carleton wrote:

> I am working on building a firewall script.  First off, I have a
> ipchains script that is working fine in Linux, is there some way to
> eaily convert that over to ipfw?  Here is the ipfw script I have so
> far, real simple in my option:

Try changing 'in via' to 'in recv' in the lines below:

> $fwcmn add deny all from ${LOCALNET_1} to any in via ${EXTERNAL_INTERFACE}
> $fwcmn add deny all from ${IPADDR} to any in via ${LOCAL_INTERFACE_1}

I think it will work then...

-- 
Giorgos Keramidas, < keramida @ ceid . upatras . gr >
For my public PGP key: finger keramida@diogenis.ceid.upatras.gr
PGP fingerprint, phone and address in the headers of this 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?20000311162653.D98032>