Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2002 11:35:37 +0700
From:      budsz <budsz@kumprang.or.id>
To:        FreeBSD-Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Question port in ipfw
Message-ID:  <20021010043537.GA94881@kumprang.or.id>

next in thread | raw e-mail | index | archive | help
Hi,

I try to limit rule base on port for example:

Case 1:

port_tcp="53,1024-1500"

${fwcmd} add 001 allow tcp from any to any ${port_tcp}
${fwcmd} add 002 allow tcp from any ${port_tcp} to any

I got some error "1024-1500 unknow port", If I change variable to 
port_tcp="1024-1500,53", it's OK, Why..?

Case 2:

port_tcp="1024-1500,53,1600-1700"

${fwcmd} add 001 allow tcp from any to any ${port_tcp}
${fwcmd} add 002 allow tcp from any ${port_tcp} to any

I got some error again "1600-1700 unknow port", Does FreeBSD support
only one range port..?

TIA


-- 
budsz

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?20021010043537.GA94881>