- 论坛徽章:
- 0
|
vsftp 2.05 tar包安装后限制IP范围 users_access_ip提示此参数不可用??
哪位兄台做过此方面的测试教两招。
以下为参考论坛里的文字:
需要vsftp2.0.4+(ext 3)版本才支持:
Added rules for user access only from defined IPs. To enable this feature add to config users_access_ip with optional pathname of rules-file (if rules-file is not specified, vsftpd uses /etc/vsftpd.users_ip). If the user is not found, it is considered, that it can work with a server. Rules-file format: <UserName> <Remote IP/Remote Mask> [<Remote IP/Remote Mask> ....]
Added support full conversion from Southern European between UTF-8 and ISO-8859-3 (need define VSFTP_CHARCONV_SUPPORT_SOUTHERN in charconv.h).
Example of file vsftpd.users_ip:
# UserName Remote IP/Remote Mask
4ever 10.1.237.0/24 192.168.1.0/24 122.34.56.2
chiko 10.1.156.0/24 158.76.23.54 176.32.56.32 |
|