Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Apr 2004 19:30:27 -0000
From:      Thomas Wolf <tw@wsf.at>
To:        An Tran <thuan_an@yahoo.com>, freebsd-ipfw@freebsd.org
Subject:   Re: Optional NOT operator of ports problem
Message-ID:  <20040406213027.2a5tp308z3msk@.mailhost.wsf.at>

Next in thread | Raw E-Mail | Index | Archive | Help

An Tran <thuan_an@yahoo.com> schrieb:

> Hi all, 
> 
> I was having a problem with the optional NOT operator of ports. I have tested this rule but it didn't worked: 
> 
> #ipfw add xxx allow ip from xx.xx.xx.xx to any not 25 
> ipfw: unknown argument ``not'' 
> 

AFAIK this works only with ipfw2:

gateway# ipfw -n add 1 count all from any to any not 25
00001 count ip from any to any not dst-port 25

Thomas

--
Thomas Wolf
Wiener Software Fabrik
Dubas u. Wolf GMBH
1050 Wien, Mittersteig 4



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20040406213027.2a5tp308z3msk>