[FSUG-Bangalore] how to block individual USB ports on ubuntu

Mallikarjun(ಮಲ್ಲಿಕಾರ್ಜುನ್) mallik.v.arjun at gmail.com
Thu May 27 09:52:39 IST 2010


On Sun, May 23, 2010 at 5:52 AM, renuka prasad <renukaprasadb at gmail.com> wrote:
> Hi all
>
> could any body help in knowing how to block specific usb port on GNU Linux
> (ubuntu ), i tried searching could not get an appropriate link, kindly
> forward any link if you have come across..

Hi,
 It is quiet simple, If you are using Ubuntu, UFW will be installed by
default, but will be disabled

1) Enable UFW
sudo ufw enable

2) Play with your ports
sudo ufw deny port <port number>
sudo ufw allow port <port number>


Below link can guide you more about UFW firewall
http://ubuntuforums.org/showthread.php?t=823741

>
> thanks in advance
>
> regards
>
> renuka prasad
>
> _______________________________________________
> FSUG-Bangalore mailing list
> FSUG-Bangalore at mm.gnu.org.in
> http://mm.gnu.org.in/cgi-bin/mailman/listinfo/fsug-bangalore
>
>


More information about the FSUG-Bangalore mailing list