Done it successfully with this. Thanks to Janette Co.
/sbin/ipfwadm -F -a deny -P tcp -S 192.168.0.0/24 -D any/0 4000 6660 6667 6668 6669
00 7001 7002 7003 7777 50
00 6666
/sbin/ipfwadm -F -a deny -P udp -S 192.168.0.0/24 -D any/0 4000 4001 5000
John Paul Tomas wrote:
> guys,
>
> anyone knows the port that ICQ and MIRC uses?
> and how can i block this ports? or block ICQ and MIRC..
>
> i tried putting this into my rc.local
>
> /sbin/ipfwadm -F -p deny
> /sbin/ipfwadm -F -f
> /sbin/ipfwadm -I -f
> /sbin/ipfwadm -O -f
> /sbin/ipfwadm -F -a deny -b -P tcp -S 192.168.0.0/16 -D 0/0 1026:7000
> /sbin/ipfwadm -F -a deny -b -P udp -S 192.168.0.0/16 -D 0/0 1026:7000
> /sbin/ipfwadm -F -a m -S 192.168.0.0/16 -D 0.0.0.0/0
>
> but it does not seem to work...
>
> i want to block the whole 192.168.X.X ip add.
> what did i missed?
>
> thanks
> SUPERMAN
>
> -
> Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]