* How to disable mIRC Chat
@ 2006-01-14 13:17 Myanmar Linux Boy
0 siblings, 0 replies; 3+ messages in thread
From: Myanmar Linux Boy @ 2006-01-14 13:17 UTC (permalink / raw)
To: netfilter
Dear All,
I am new to linux.
I want to disable chat with iptables so that nobody can use chat with
mIRC with LAN. Because every students are chatting all the time.
I am using Red Hat 9 and Squid.
They use port 443 and 6667 to chat with mIRC
How can I write firewall rules.
Any help is appreciated
Myanmar Linux Boy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to disable mIRC Chat
@ 2006-01-14 18:25 Gabriel
2006-01-14 18:59 ` Georgi Alexandrov
0 siblings, 1 reply; 3+ messages in thread
From: Gabriel @ 2006-01-14 18:25 UTC (permalink / raw)
To: netfilter
On Sat, 14 Jan 2006 15:17:33 +0200, Myanmar Linux Boy
wrote:
> Dear All,
> I am new to linux.
> I want to disable chat with iptables so that nobody can
use chat with
> mIRC with LAN. Because every students are chatting all
the time.
> I am using Red Hat 9 and Squid.
> They use port 443 and 6667 to chat with mIRC
> How can I write firewall rules.
iptables -A FORWARD -p tcp --dport 6660:6669 -j DROP would
do, but, considering IRC servers also run on other ports,
you should do:
iptables -A FORWARD -p tcp -m multiport --destination-port
<insert random ports separated by comma here>
443 is used by https, so I don't think you should block it.
An IRC daemon would not normally run on that port.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to disable mIRC Chat
2006-01-14 18:25 How to disable mIRC Chat Gabriel
@ 2006-01-14 18:59 ` Georgi Alexandrov
0 siblings, 0 replies; 3+ messages in thread
From: Georgi Alexandrov @ 2006-01-14 18:59 UTC (permalink / raw)
To: netfilter
Gabriel wrote:
>On Sat, 14 Jan 2006 15:17:33 +0200, Myanmar Linux Boy
>wrote:
>
>
>
>>Dear All,
>> I am new to linux.
>> I want to disable chat with iptables so that nobody can
>>
>>
>use chat with
>
>
>>mIRC with LAN. Because every students are chatting all
>>
>>
>the time.
>
>
>> I am using Red Hat 9 and Squid.
>> They use port 443 and 6667 to chat with mIRC
>> How can I write firewall rules.
>>
>>
>
>iptables -A FORWARD -p tcp --dport 6660:6669 -j DROP would
>do, but, considering IRC servers also run on other ports,
>you should do:
>
>iptables -A FORWARD -p tcp -m multiport --destination-port
><insert random ports separated by comma here>
>
>443 is used by https, so I don't think you should block it.
>An IRC daemon would not normally run on that port.
>
>
>
>
Maybe best match will be achieved with l7-filter.sf.net
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-01-14 18:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-14 18:25 How to disable mIRC Chat Gabriel
2006-01-14 18:59 ` Georgi Alexandrov
-- strict thread matches above, loose matches on Subject: below --
2006-01-14 13:17 Myanmar Linux Boy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.