Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jan 2002 13:01:39 +0100
From:      Rogier Steehouder <r.j.s@gmx.net>
To:        Chris Appleton <appleton_chris@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ipfw rules
Message-ID:  <20020112130139.A688@localhost>
In-Reply-To: <20020111200507.5340.qmail@web14804.mail.yahoo.com>; from appleton_chris@yahoo.com on Fri, Jan 11, 2002 at 12:05:07PM -0800
References:  <20020111200507.5340.qmail@web14804.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11-01-2002 12:05 (-0800), Chris Appleton wrote:
> allow tcp from any 21 to a.b.c.d

This means allow connections from port 21 on any machine to any port on
a.b.c.d, so you completely opened up your system.

What you're probably looking for is:

allow tcp from any to a.b.c.d 21

Allow any machine to connect to only port 21 on a.b.c.d

With kind regards, Rogier Steehouder

-- 
                          ___                          _
-O_\                                                  //
 | /               Rogier Steehouder                 //\
/ \                  r.j.s@gmx.net                  //  \
  <---------------------- 25m ---------------------->

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?20020112130139.A688>