40.15. Restricting Clients by IP Address

By default, ProFTPD will allow clients to connect from any IP address. Like everything else, however, this is configurable so that you can restrict access to systems on your own network—either globally or for particular virtual servers. This comes in handy if you are setting up an FTP server that is for internal use only, even though the system it is running on is accessible from the Internet.

To restrict clients by address, follow these steps:

1.
To create a global restriction that will apply to all virtual servers, enter LOGIN in the FTP commands field of the per-command options form on the module's main page, then click Create. If you only want to limit who can connect to a particular virtual server, ...

Get Managing Linux® Systems with Webmin™ System Administration and Module Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.