Visu
One way to do it is:
iptables -A FORWARD -i your-internal-interface -o
your-external-interface -p tcp --dport 6661:6669 -j DROP
This is assuming that you are allowing all of your local clients
unlimited access outbound and just blocking IRC on all the common ports
Bill James
-----Original Message-----
From: firewall-wizards-admin_at_honor.icsalabs.com
[mailto:firewall-wizards-admin_at_honor.icsalabs.com] On Behalf Of
Vishwanath V
Sent: Wednesday, January 14, 2004 5:47 AM
To: firewall-wizards_at_honor.icsalabs.com
Subject: [fw-wiz] Blocking IRC ....
Hi guys,
I just joined the list.
I need some help wrt iptables.
I have a linux gateway machine acting as a IP_masq/firewall.
My policy is a basic deny all.
I wana block machnies on my LAN from using irc client.
Thanks in advance.
Visu
________________________________________________________________________
Yahoo! India Mobile: Download the latest polyphonic ringtones.
Go to http://in.mobile.yahoo.com
_______________________________________________
firewall-wizards mailing list
firewall-wizards_at_honor.icsalabs.com
http://honor.icsalabs.com/mailman/listinfo/firewall-wizards
_______________________________________________
firewall-wizards mailing list
firewall-wizards_at_honor.icsalabs.com
http://honor.icsalabs.com/mailman/listinfo/firewall-wizards
Received on Jan 21 2004