Linux Netfilter discussions
 help / color / mirror / Atom feed
* blocking outbound irc
@ 2005-09-08  4:41 hbeaumont hbeaumont
  2005-09-08  6:07 ` Ruben Cardenal
  0 siblings, 1 reply; 2+ messages in thread
From: hbeaumont hbeaumont @ 2005-09-08  4:41 UTC (permalink / raw)
  To: netfilter

Hi,

Can anyone send me the iptables line(s) I would need to block all outgoing 
access to remote irc (ports 6668, etc.).

I tried to figure this out myself (even asked some on the list a while back) 
and haven't reallly had much luck. I feel like
a loser for just out and out asking but if anyone could just send me the 
basic line for doing it I would really appreciate it.

Thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: blocking outbound irc
  2005-09-08  4:41 blocking outbound irc hbeaumont hbeaumont
@ 2005-09-08  6:07 ` Ruben Cardenal
  0 siblings, 0 replies; 2+ messages in thread
From: Ruben Cardenal @ 2005-09-08  6:07 UTC (permalink / raw)
  To: netfilter


Hi,

> Can anyone send me the iptables line(s) I would need to block all outgoing
> access to remote irc (ports 6668, etc.).

  Regular IRC ports are 6660-6669 and 7000. So..

  iptables -I OUTPUT -p tcp -m multiport --destination-ports
6660,6661,6662,6663,6664,6665,6666,6667,6668,6669,7000 -j DROP

  Regards,

- Ruben




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-08  6:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-08  4:41 blocking outbound irc hbeaumont hbeaumont
2005-09-08  6:07 ` Ruben Cardenal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox