Optional NOT operator of ports problem

Thomas Wolf tw at wsf.at
Tue Apr 6 12:34:40 PDT 2004


An Tran <thuan_an at 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



More information about the freebsd-ipfw mailing list