How to block Kazaa; NIS authentication

jludwig wralphie at comcast.net
Wed May 5 19:39:37 UTC 2004


On Wed, 2004-05-05 at 15:03, Markku Kolkka wrote:
> Artur Sampaio kirjoitti viestissään (lähetysaika keskiviikko, 5. 
> toukokuuta 2004 21:12):
> > 1) The W2k user insist in use kazaa, that was prohibited from
> > enterprise's owner.....I wish to block the port of kazaa on
> > the server (iptables??). someone knows how?
> 
> http://www.linuxjournal.com/article.php?sid=6945
> 
> -- 
> 	Markku Kolkka
> 	markku.kolkka at iki.fi
Blocking a port with iptables is rather trivial. A couple of examples.

$IPTABLES -A INPUT -p udp --sport 23 -s 0/0 -j LOG --log-prefix \
"Incorrect DNS source"
$IPTABLES -A INPUT -i lo --sport 631 -j ACCEPT
$IPTABLES -A FORWARD -o $EXTIF -p tcp --dport 137 -j DROP
$IPTABLES -A FORWARD -o $EXTIF -p tcp --dport 138 -j DROP
$IPTABLES -A FORWARD -o $EXTIF -p tcp --dport 139 -j DROP

See http://www.linuxguruz.com/iptables/ for more and better information
-- 
jludwig <wralphie at comcast.net>





More information about the fedora-list mailing list