illegal port command

English support forum

Moderators: white, Hacker, petermad, Stefan2

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

In that case, FlashFXP has "Server behind NAT/Masq/Non-Routable IP" option, which will disregard the IP given in PASV command and connect to the server of the IP.
That's a good idea, I think that I will add this too.
Author of Total Commander
https://www.ghisler.com
User avatar
dorin
Junior Member
Junior Member
Posts: 6
Joined: 2017-06-10, 11:29 UTC
Location: italy

Re: illegal port command

Post by *dorin »

Code: Select all

sudo nano /etc/vsftpd.conf
#add ports to your configuration file (you may need only a few of them, do not declare so many)
pasv_min_port=40000
pasv_max_port=50000

#open the ports

Code: Select all

sudo ufw allow 40000:50000/tcp
#restart service

Code: Select all

sudo systemctl restart vsftpd.service
#try Total Commander FTP again
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: illegal port command

Post by *Usher »

Yeah, sure...
First, why do you think it's a Linux server with VSFTP daemon running?
Second, why do you think any user can chance configuration of that server?
Third, why do you think your advice can be helpful for solving a problem reported 17 years ago?
Andrzej P. Wozniak
Polish subforum moderator
Post Reply