Re: How to block Kazaa; NIS authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx
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@xxxxxxxxxxx>



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux