I can configure Port Address Translation (PAT) on the router to connect to these devices' FTP servers, Control connection, on different incoming Control ports, such as:
public IP:61021 -> 192.168.1.230:21
public IP:61121 -> 192.168.1.231:21
I could likewise also configure PAT for specific ports for each of these devices to use for Transmission connection. However...
Although these devices' embedded FTP servers support PASV, the port they choose and send back appears random, and thus not PAT-able.
So, I wanted to specify PORT from WinSCP, in Active mode, for each session configuration, with a known distinct port I could PAT on the router to each device.
But I can't find any way to specify the PORT in WinSCP by session config.
Is there a way to do that, or is it always randomly assigned by WinSCP when in Active FTP mode?
Again, I have multiple LAN devices with built-in FTP servers that cannot be configured. They always respond to port 21 for Control and will accept an Active PORT command, or PASV mode. But both modes result in random ports for the Transmission connection, and I need it to be known so I can PAT them for each device on the router.
In order to PAT the Transmission ports, differently for each device, I need to be able to either configure the FTP server to respond with a specific port, by device in PASV (which I cannot do) or have the client (WinSCP) to specify PORT for an Active connection to a known, PAT'ed port for each Session.
Can I specify the PORT to use, differently for each configured Session in WinSCP?
This seems like it ought to be possible and I'm just missing something.