[問題] vsFTPd 外部連接問題
我社定好vsftpd之後
從本機可以正常連線
[root@localhost ~]# ftp localhost
Connected to localhost.localdomain.
220 (vsFTPd 2.0.5)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (localhost:root): stan
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
但是從外部電腦聯不進來
可以ping的到ip
[root@localhost ~]# netstat -tulnp | grep 21
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 4073/vsftpd listen_port=21
防火牆 SELinux關閉
iptables 設定
iptables -A INPUT -p TCP -i $EXT_IF --dport 21 -j ACCEPT
iptables -A INPUT -p TCP -i $EXT_IF --dport 65400:65410 -j ACCEPT
-------------------------------------
vsftpf.conf 設定
local_umask=002
write_enable=YES
local_enable=YES
connect_from_port_20=YES
listen=YES
listen_port=21
pasv_enable=YES
pasv_min_port=65400
pasv_max_port=65410
--------------------------------------
請問可能哪個地方出錯
3q ..
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 203.204.160.240
※ 編輯: thorstan1234 來自: 203.204.160.240 (08/05 10:21)
→
08/05 12:17, , 1F
08/05 12:17, 1F
→
08/05 22:32, , 2F
08/05 22:32, 2F
討論串 (同標題文章)
完整討論串 (本文為第 1 之 2 篇):