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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to