도와주세요~ 페도라5 에서 vsftp 설정관련 질문입니다.
안녕하세요
수세리눅스10.0에서 1026포트로 ftp서버 운영 잘하다가...
오늘 페도라5로 새로 깔았습니다. 그런데 ftp서버가 않돼네요 ^^;;
vsftp설치 후 하나로통신에서 21번포트를 포트를 막아놓아
1026포트로 사용하고있습니다.
1026포트라서 클라이언트 PC에서 파시브모드로 접속해보았으나
ftp서버 접속은 되는데 파일이 전혀 보이지도 않구요..
업로드도 되질 않습니다.
뭐가 문제일까요?? ㅡㅡ;; 로컬에서는 gftp로접속이 잘돼네요==========================================================
윈도우클라이언트에서 알ftp프로그램 접속시 메시지입니다. ㅡㅡ;;
Connection established
<<257 "/home/xuser"
<<
<<250 Directory successfully changed <--성공적으로 디렉토리가 바뀌었다는데;;
<<
<<250 Directory successfully changed
<<
Starting FTP transfer
<< 227 Entering Passive Mode(255.178.127.78.57.56
==========================================================
아래는 제가 설정해놓은 vsftp.conf 설정파일입니다.
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
local_umask=022
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
#anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#anon_mkdir_write_enable=YES
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES
#
# Activate logging of uploads/downloads.
xferlog_enable=YES
#
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES
#
# If you want, you can arrange for uploaded anonymous files to be owned by
# a different user. Note! Using "root" for uploaded files is not
# recommended!
#chown_uploads=YES
#chown_username=whoever
#
# You may override where the log file goes if you like. The default is shown
# below.
#xferlog_file=/var/log/vsftpd.log
#
# If you want, you can have your log file in standard ftpd xferlog format
xferlog_std_format=YES
#idle_session_timeout=600
#
# You may change the default value for timing out a data connection.
#data_connection_timeout=120
#
# It is recommended that you define on your system a unique user which the
# ftp server can use as a totally isolated and unprivileged user.
#nopriv_user=ftpsecure
#
# Enable this and the server will recognise asynchronous ABOR requests. Not
# recommended for security (the code is non-trivial). Not enabling it,
# however, may confuse older FTP clients.
#async_abor_enable=YES
#ls_recurse_enable=YES
pam_service_name=vsftpd
userlist_enable=YES
#enable for standalone mode
listen=YES
tcp_wrappers=YES
listen_port=1026
방화벽 설정 잡아주었더니 돼네요 ;;
아예 접속이 되지 말던가..;; 방화벽쪽은 아에 생각도 못했는데
혹시나해서 해봤더니 바루 접속돼네요...
페도라5 사용중 ^^
댓글 달기