Block / Restrict FTP Users by TCP Wrapper

By | 29/02/2012

In Redhat Linux a ftp user can be blocked by admin by tcp wrapper. By blocking /restricting thew ftp users, they can’t access the server files through FTP method. TCP Wrapper need a package called XINETD

Package name: Xinetd

Service name: Xinetd

We are going to block the FTP users, so we have to edit hosts.deny file


#vim /etc/hosts.deny

Block all FTP like viagra request and login, except the IP address

Any user can taking viagra without ed login from the IP address

vsftpd: ALL EXCEPT


#vim /etc/hosts.deny

Blcok all FTP access(login) canadian pharmacy questions for the whole network buy generic cialis online

vsftpd: ALL EXCEPT
( or )
vsftpd: generic viagra online ALL EXCEPT


#vim /etc/hosts.deny

None of the FTP users can login into the primatene mist canadian pharmacy server.

vsftpd: ALL

Post By prasad (110 Posts)

Website: →


About prasad

Prasad K has written 110 post in this blog.

Leave a Reply