Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Aug 2000 21:27:54 +0200
From:      Neil Blakey-Milner <nbm@mithrandr.moria.org>
To:        Daryl Chance <dchance@valuedata.net>
Cc:        FreeBSD IPFW <ipfw@freebsd.org>
Subject:   Re: Fw: IPFW rule rewrite to be more "flexable" and "readable"
Message-ID:  <20000808212754.A17940@mithrandr.moria.org>
In-Reply-To: <002101c0016d$05074740$0200000a@development1>; from dchance@valuedata.net on Tue, Aug 08, 2000 at 02:15:30PM -0500
References:  <002101c0016d$05074740$0200000a@development1>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue 2000-08-08 (14:15), Daryl Chance wrote:
> > ipfw add allow tcp from any to any 21
> > to:
> > ipfw add allow tcp from any to any ftp
> >
> > I'm having a problem with ftp-data(port 20) though.  ipfw won't accept it
> in
> > ""
> > or ''.  it keeps thinking i'm trying to pass it a port range.  Here's the
> > actual
> > message:
> >
> > $ ipfw add allow tcp from any "ftp-data" to any setup
> > ipfw: unknown port ``data''

ipfw add allow tcp from any ftp\\-data to any setup
or:
ipfw add allow tcp from any "ftp\-data" to any setup

It's mentioned in the man page.

Neil
-- 
Neil Blakey-Milner
Sunesi Clinical Systems
nbm@mithrandr.moria.org


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000808212754.A17940>