View Full Version : How can we restrict ftp access
betun
03-05-2008, 10:50 AM
From our dedicated server how can we restrict ftp access from different IP.
we want to set particular IPs from where ftp can be accessable
Thaks
nobaloney
03-14-2008, 01:42 PM
Firewalling is one option. If you're using linux, hosts.deny and hosts.allow is yet another.
Another may be the Proftpd configuration itself; I haven't looked at it in years, but it's designed similarly to the way the apache configuration system is built, and it may have the option. Documention here (http://www.proftpd.org/docs/).
Jeff
SupermanInNY
10-12-2009, 05:27 PM
Firewalling is one option. If you're using linux, hosts.deny and hosts.allow is yet another.
Another may be the Proftpd configuration itself; I haven't looked at it in years, but it's designed similarly to the way the apache configuration system is built, and it may have the option. Documention here (http://www.proftpd.org/docs/).
Jeff
Old post,. but since I needed it right now,. I figured I'll paste the solution:
Edit: /etc/proftpd.conf
....
</Global>
<limit login>
DenyAll
allow 127.0.0.1 1.2.3.4 5.6.7.8
</limit>
Include /etc/proftpd.vhosts.conf
Hope that helps someone else down the road.
-Sup.
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.