nbakewell
26th November 2008, 06:08
I need to disallow FTP from a certain IP address and am trying to use TCP wrappers to do so. After reading some online articles, I thought it was as simple as adding this line to my hosts.deny file:
vsftpd : 192.168.20.120
And making sure nothing in my hosts.allow file was overriding that, but after doing so and attempting to FTP in from 192.168.20.120 I still have access. Am I missing something here? I also tried changing vsftpd to just ftpd and ftp. How can I deny FTP from just certain IPs using TCP Wrappers?
vsftpd : 192.168.20.120
And making sure nothing in my hosts.allow file was overriding that, but after doing so and attempting to FTP in from 192.168.20.120 I still have access. Am I missing something here? I also tried changing vsftpd to just ftpd and ftp. How can I deny FTP from just certain IPs using TCP Wrappers?