Answer the question
In order to leave comments, you need to log in
VMware changing port for passive ftp connection?
My machine (ubuntu 13.10) has VMware Player 6.0.1 installed.
I run BitrixVM4.2 in it, in fact it is CentOS 6.3.
The virtual machine is running vsftpd on port 21. Its config:
listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
chroot_local_user=YES
pasv_enable=YES
pasv_min_port=10121
pasv_max_port=10123
pasv_address=127.0.0.1
[host]
ip = 192.168.117.2
netmask = 255.255.255.0
device = /dev/vmnet8
activeFTP = 0
allowAnyOUI = 1
resetConnectionOnLinkDown = 1
resetConnectionOnDestLocalHost = 1
[tcp]
timeWaitTimeout = 30
[udp]
timeout = 60
[netbios]
nbnsTimeout = 2
nbnsRetries = 3
nbdsTimeout = 3
[incomingtcp]
2222 = 192.168.117.128:22
10021 = 192.168.117.128:21
10080 = 192.168.117.128:80
10033 = 192.168.117.128:33
#ftp-passive ports
10121 = 192.168.117.128:10121
10122 = 192.168.117.128:10122
10123 = 192.168.117.128:10123
[incomingudp]
> telnet 127.0.0.1 10021
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 (vsFTPd 2.2.2)
user bitrix
331 Please specify the password.
pass bitrix
230 Login successful.
pasv
227 Entering Passive Mode (127,0,0,1,167,77).
list
> telnet 127.0.0.1 42061
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Connection closed by foreign host.
Answer the question
In order to leave comments, you need to log in
So far, I have solved the problem for myself by scoring on NAT and using Bridged (the virtual machine receives a separate ip on the local network). But if the answer to the question is still found, IMHO, it will be very useful, because. I didn't find the answer on google.
I opened my config, I also added such lines
pasv_promiscuous=YES
pasv_address=ip
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question