|
连接到 XXXX, 端口 21 (#1)
解析主机为: 218.18.47.6
已连接. 正等待响应.
220 (vsFTPd 1.1.3)
USER lzd
331 Please specify the password.
PASS xxxxxx
230 Login successful. Have fun.
SYST
215 UNIX Type: L8
PWD
257 "/home/linux"
TYPE A
200 Switching to ASCII mode.
PORT 192,168,0,103,16,224
500 Illegal PORT command.
PASV
227 Entering Passive Mode (192,168,0,77,175,76)
LIST
425 Security: Bad IP connecting.
227 Entering Passive Mode (192,168,0,77,175,76)这句话是什么意思,请教各位了
我想将内网的ftp通过网关映射出来,我怎么调试也调不出来,请教了目前我是这样配置的
/sbin/iptables -t nat -A PREROUTING -d $NEW_IP -p tcp --dport 21 -j DNAT --to 192.168.0.77
/sbin/iptables -t nat -A POSTROUTING -d 192.168.0.77 -p tcp --dport 21 -j SNAT --to 192.168.0.1
请教了
|
|