Skip to contentSkip to conversation

blocking outbound irc

DISCUSSION hbeaumont hbeaumont 2 participants 2 messages Sep 8, 2005

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw

Hi,

Quoted 2 lines

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