We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Port-Forwarding for Passive FTP
Re: Port-Forwarding for Passive FTP
joem wrote:Try stopping iptables and then try to connect.
Code: Select all
ufw status
Status: inactive
Last edited by sennevb on Sun Dec 07, 2014 10:01 am, edited 2 times in total.
Re: Port-Forwarding for Passive FTP
Note to admin:
maybe it has something to do with proftpd config, how can i go back to previous ftp ??
I allready tried a new installation on a new vps i've set up, but i think theres something
changed in the install scrypt, afte rinstallation the admin panel is not reachable, apache and nginx running tough..
maybe it has something to do with proftpd config, how can i go back to previous ftp ??
I allready tried a new installation on a new vps i've set up, but i think theres something
changed in the install scrypt, afte rinstallation the admin panel is not reachable, apache and nginx running tough..
Re: Port-Forwarding for Passive FTP
Any specific reason why you switched to proftpd?
With the default one all you need is adding a line in your config and opening a range of ports like suggested on earlier posts.
I try to stick with default as much as possible in anything.
With the default one all you need is adding a line in your config and opening a range of ports like suggested on earlier posts.
I try to stick with default as much as possible in anything.
Re: Port-Forwarding for Passive FTP
How to replace ProFTPD with vsftpd on a RHEL or CentOSsennevb wrote:Note to admin:
maybe it has something to do with proftpd config, how can i go back to previous ftp ??
I allready tried a new installation on a new vps i've set up, but i think theres something
changed in the install scrypt, afte rinstallation the admin panel is not reachable, apache and nginx running tough..
Code: Select all
# service proftpd stop
# chkconfig proftpd off
# yum install vsftpd
# wget http://c.vestacp.com/0.9.8/rhel/vsftpd.conf -O /etc/vsftpd.conf
# sed -i "s/proftpd/vsftpd/" /usr/local/vesta/conf/vesta.conf
# chkconfig vsftpd on
# service vsftpd start
How to replace ProFTPD with vsftpd on a Debian or Ubuntu
Code: Select all
# service proftpd stop
# update-rc.d -f proftpd remove
# apt-get install vsftpd
# wget http://c.vestacp.com/0.9.8/debian/vsftpd.conf -O /etc/proftpd/vsftpd.conf
# sed -i "s/proftpd/vsftpd/" /usr/local/vesta/conf/vesta.conf
# service vsftpd restart
-
- Posts: 54
- Joined: Wed Dec 11, 2013 9:05 pm
Re: Port-Forwarding for Passive FTP
Are you using SSL?
If so you need to open firewall and put in 21,12000-12100 in FTP
I have had to do this every time a start a new server.
Run:
sudo nano /etc/vsftpd/vsftpd.conf
and add this to the bottom.
This will force your clients to use SFTP so that people won't steal there passwords
If so you need to open firewall and put in 21,12000-12100 in FTP
I have had to do this every time a start a new server.
Run:
sudo nano /etc/vsftpd/vsftpd.conf
and add this to the bottom.
Code: Select all
rsa_cert_file=/usr/local/vesta/ssl/certificate.crt
rsa_private_key_file=/usr/local/vesta/ssl/certificate.key
require_ssl_reuse=NO
ssl_ciphers=HIGH
ssl_enable=YES
ssl_sslv2=NO
ssl_sslv3=NO
ssl_tlsv1=YES
allow_anon_ssl=NO
force_local_data_ssl=YES
force_local_logins_ssl=YES
Re: Port-Forwarding for Passive FTP
I switched to proftpd because i had problems logging on.RouterRat wrote:Any specific reason why you switched to proftpd?
With the default one all you need is adding a line in your config and opening a range of ports like suggested on earlier posts.
I try to stick with default as much as possible in anything.
I reainstalled default ftp, opened ports 20 , 12000:12100 and it works now!