Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Apr 2004 19:30:27 -0000
From:      Thomas Wolf <>
To:        An Tran <>,
Subject:   Re: Optional NOT operator of ports problem
Message-ID:  <>

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

An Tran <> 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 Wolf
Wiener Software Fabrik
Dubas u. Wolf GMBH
1050 Wien, Mittersteig 4

Want to link to this message? Use this URL: <>