[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

possible to specify a range of port that are not equal.



Is it possible to specify a range of port that are not equal. I tried
this below and it didn't work.
tcpservices="{  ftp, \
                telnet, \
                smtp, \
                domain, \
                www, \
                pop3, \
                auth, \
                netbios-ns, \
                netbios-dgm, \
                netbios-ssn, \
                irc, \
                https, \
                photuris, \
                isakmp, \
                548, \
                rsync, \
                1433, \
                mysql, \
                631 }"
updservices="{  domain, \
                bootps, \
                bootpc, \
                ntp, \
                snmp, \
                snmp-trap, \
                548, \
                631 }"
block in log quick on $ext inet proto tcp \
        from $trusted port ! $tcpservices to any port $safe
block in log quick on $ext inet proto udp \
        from $trusted port ! $updservices to any
------------------------------------------------------------------------
-
Duncan Matthew Stirling <duncan@mbase.com>           Cross Media
Commerce
Network Administrator                            Digital Asset
Management
http://www.mBase.com                               Web Content
Management
P:780-945-4607                 Single Source Print and eCommerce
Catalogs
------------------------------------------------------------------------
-