How can we restrict ftp access

betun

New member
Joined
Mar 5, 2008
Messages
3
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
 
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.

Jeff
 
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.

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.
 
Back
Top