with lxc container ubuntu 18.04, named ‘store’
trying to get functionnal proftpd server…
the host is in 192.168.1.33 in a virtual box, and trying to set lxc proxy rules…
already set in proftpd :
PassivePorts 49152 65534
MasqueradeAddress 192.168.1.33
and in the host, defined proxy rules. lxc config show store
store80:
connect: tcp:127.0.0.1:80
listen: tcp:0.0.0.0:80
type: proxy
store3306:
connect: tcp:127.0.0.1:3306
listen: tcp:0.0.0.0:3306
type: proxy
storeftp21:
connect: tcp:127.0.0.1:21
listen: tcp:0.0.0.0:21
type: proxy
storeftppassive:
connect: tcp:127.0.0.1:49152-65534
listen: tcp:0.0.0.0:49152-65534
type: proxy
i can’t get fully functional ftp connexion.
in filezilla, i get
|Status:|Connecting to 192.168.1.33:21...| |---|---| |Status:|Connection established, waiting for welcome message...| |Status:|Insecure server, it does not support FTP over TLS.| |Status:|Logged in| |Status:|Retrieving directory listing...| |Command:|PWD| |Response:|257 "/" is the current directory| |Command:|TYPE I| |Response:|200 Type set to I| |Command:|PASV| |Response:|227 Entering Passive Mode (192,168,1,33,225,161).| |Command:|LIST| |Error:|The data connection could not be established: ECONNREFUSED - Connection refused by server|
searched how to config this , but can’t find any positive way…
any help ?