how to block a user from accessing internet in linux.

Posted by santhosh on Super User See other posts from Super User or by santhosh
Published on 2009-11-29T08:32:31Z Indexed on 2010/04/05 6:03 UTC
Read the original article Hit count: 282

Filed under:

how to block a user from accessing internet in linux.

Is the following command correct.

iptables -A OUTPUT -p tcp --dport 80,443 -m owner --uid-owner $USERNAME -j DROP

© Super User or respective owner

Related posts about iptables