|
|
我用的是紅帽RHEL3套件
下面是以xinetd啓動的vsftpd在/etc/xinetd.d/vsftpd配置文件
# default: off
# description: The vsftpd FTP server serves FTP connections. It uses \
# normal, unencrypted usernames and passwords for authentication.
service ftp
{
socket_type = stream
wait = no
user = root
server = /usr/sbin/vsftpd
nice = 10
disable = no
flags = IPv4
no_access 192.168.12.2
only_from 192.168.11.0 我的主機就是在這個網段內不過添加上這一句我的主機就訪問不了FTP,而且必須注釋掉上面的兩句才可以訪問,這到掉是爲什麽啊?
#per_source=6
#instances=70
# access_times=8:30-11:30 13:00-16:00
#access_times=22:00-23:00
# banner_fail=/etc/vsftpd.busy_banner
} |
|