All of lore.kernel.org
 help / color / mirror / Atom feed
* multiport
@ 2005-06-16 13:59 Sadus .
  2005-06-16 14:16 ` multiport Jason Opperisano
  2005-06-16 14:17 ` multiport Carl Holtje ;021;vcsg6;
  0 siblings, 2 replies; 7+ messages in thread
From: Sadus . @ 2005-06-16 13:59 UTC (permalink / raw)
  To: netfilter

Hello i want to drop ALL connections on my internal NIC except:
20,21,80,443
is this correct? (although not working)


iptables -A INPUT -i eth1 -s 172.16.3.0/16 -p tcp -m multiport !
--destination-port  20,21,80,443 -j DROP #USERS

which basicaly means if source is in 172.16.3.0 then drop all except for
HTTP,FTP,HTTPS. that's in order for that IP range to not be able to
connect to Instant Messenging services such as MSN, AIM, Yahoo etc...
while keeping other IP ranges be able to use them.

Thanks
-- 
Sadus . <sadus@swiftbin.net>
Swiftbin.net



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

end of thread, other threads:[~2005-06-17  8:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-16 13:59 multiport Sadus .
2005-06-16 14:16 ` multiport Jason Opperisano
2005-06-16 14:57   ` multiport /dev/rob0
2005-06-16 15:26     ` multiport Sadus .
2005-06-16 15:59       ` multiport /dev/rob0
2005-06-17  8:16       ` multiport Jörg Harmuth
2005-06-16 14:17 ` multiport Carl Holtje ;021;vcsg6;

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.