Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2001 16:14:11 +0000
From:      Josh Paetzel <friar_josh@webwarrior.net>
To:        Chris Appleton <appleton_chris@yahoo.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ipfw
Message-ID:  <20011221161411.C3202@twincat.vladsempire.net>
In-Reply-To: <20011221220234.62703.qmail@web14803.mail.yahoo.com>; from appleton_chris@yahoo.com on Fri, Dec 21, 2001 at 02:02:34PM -0800
References:  <20011221220234.62703.qmail@web14803.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 21, 2001 at 02:02:34PM -0800, Chris Appleton wrote:
> I'm running ipfw on a 4.4-release bridge.
> 
> I'm having trouble getting the rule syntax correct. 
> It is working well from a.b.c.d with the following
> rules
> 
> 00400 add allow ip from any to a.b.c.d
> 00450 add allow ip from a.b.c.d to any
> 65535 add deny ip any to any
> 
> when i try: add allow ip from any to a.b.c.d 80 to
> specify port, i get an error loading the rules.
> also, do i require 2 rules everytime, one for each
> direction.  ideally i would like to 'allow any 80 to
> any 80 - is that possible.
> 
> any good ipfw rule help - keeping in mind i don't
> think i can use in via and such with bridge.
> 
> thanks advance

Do add allow tcp from any to a.b.c.d 80

You can only specify ports with tcp and udp

Josh





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?20011221161411.C3202>