i am trying to use a netsh command to help setup an FTP "Tunnel".
netsh interface portproxy add v4tov4 listenport=21 listenaddress=0.0.0.0 connectport=21 connectaddress=ftpserver
If i setup the tunnel on machine A this seems to work grand. If i go to machine B and ftp to machine A i do get the login for the ftpserver. However when i try to issue any commands i get errors like
425-Can't build data connection for x.x.x.x,64009
425 connect to network object rejected
The problem i think is the returning connection is getting stuck at machine A , as it only forwards port 21 and not port 64009. i have setup machine A to forward port 64009 back to machine B, which does get further down the line but times out after
150 Opening data connection for HOST:[FOLDERA]*.*;* (x.x.x.x,64009)
Am i doing this all the wrong way? or can someone offer advice.
Basically i am trying to access an ftp server from machine B which is on a different network, nut machine A is on both networks ( two network cards)