This is the encrypted connection attempt, ftp logs from vsftpd:
So first of all, is PORT correct for passive mode? Then, Total Commander is requesting PORT with a local IP which fails.FTP command: Client "97.182.**.**", "PASV"
FTP response: Client "97.182.**.**", "227 Entering Passive Mode (184,103,147,26,35,138)."
FTP command: Client "97.182.**.**", "PORT 192,168,0,102,239,246"
FTP response: Client "97.182.**.**", "500 Illegal PORT command."
Now with a non-encrypted mode (ftp), it goes thru (with over 10 seconds delay after 227 response from server), but ONLY because the local address requested by the TC is translated by the local router to the external one (ie. TC is requesting the same 192.168.0.102 but the vsftpd logs show public IP). So I would think TC is wrong in two ways, one - requesting PORT after PASV (although I'm just guessing here) and second, requesting local address (I can't find a way to set it up otherwise).
Is there a way to fix it?