How will you restrict ip so that the restricted ip’s may not use the ftp server?



How will you restrict ip so that the restricted ip’s may not use the ftp server?..

Answer / Azeen Zehra Naqvi

To restrict an IP from using FTP, you can modify the /etc/hosts.allow or /etc/hosts.deny files in Linux. Add the problematic IP address to the hosts.deny file and specify the service as 'ftp'. Alternatively, you can use iptables rules to block the IP.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Linux General Interview Questions

What are benefits of linux?

1 Answers  


Where is standard output usually directed?

2 Answers  


Which are the shells used in linux?

1 Answers  


How you can create a folder using terminal?

1 Answers  


Does the alt+ctrl+del key combination work in linux?

1 Answers  


Which files are called for user profile by default when a user gets login?

1 Answers  


How do you share a program across different virtual desktops under linux?

1 Answers  


When you create a new partition, in what terms you need to designate its size

2 Answers  


Why linux is more secure than windows?

1 Answers  


What is nfs? What is its job?

1 Answers  


Is kali linux legal?

1 Answers  


How can you check the memory status?

1 Answers  


Categories