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

how to filter more than 1 port in one line



hi there!!
im trying to filter ports on my firewall
but i would like to close more than one port in one line of my script
chek here
iptables -A  FORWARD -s 169.10.155.0/24 -p tcp --dport 8000 -d
169.30.13.11/32 -j DROP

now i want to add in that line the port 5000 8888
50001 and other else
how can i do that ?
i all ready try with "," but no working

any advice?
thanks
-- 
-------------------------------------------------
                           Luis A. Rondon Paz
    L I N U X       .~.    Admin intranet CNT
   The  Choice      /V\    icq #132736035
    of a GNU       /( )\   itachi@cnt.uo.edu.cu
   Generation      ^^-^^    Santiago de cuba
                   UONET
-------------------------------------------------




Reply to: