Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Port-Forwarding for Passive FTP

General questions about VestaCP
Post Reply
  • Print view
Advanced search
17 posts
  • Previous
  • 1
  • 2
sennevb
Posts: 31
Joined: Fri Dec 05, 2014 3:10 pm

Re: Port-Forwarding for Passive FTP
  • Quote

Post by sennevb » Sun Dec 07, 2014 7:35 am

joem wrote:Try stopping iptables and then try to connect.

Code: Select all

ufw status
Status: inactive
i also disabled it in vestacp panel, but still no use..
Last edited by sennevb on Sun Dec 07, 2014 10:01 am, edited 2 times in total.
Top

sennevb
Posts: 31
Joined: Fri Dec 05, 2014 3:10 pm

Re: Port-Forwarding for Passive FTP
  • Quote

Post by sennevb » Sun Dec 07, 2014 9:40 am

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..
Top

sennevb
Posts: 31
Joined: Fri Dec 05, 2014 3:10 pm

Re: Port-Forwarding for Passive FTP
  • Quote

Post by sennevb » Sun Dec 07, 2014 8:34 pm

No one??
Top

RouterRat
Posts: 23
Joined: Sat Dec 06, 2014 12:20 am

Re: Port-Forwarding for Passive FTP
  • Quote

Post by RouterRat » Sun Dec 07, 2014 11:00 pm

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.
Top

joem
Posts: 378
Joined: Thu Nov 13, 2014 8:33 am

Os: CentOS 7x
Web: nginx + php-fpm
Re: Port-Forwarding for Passive FTP
  • Quote

Post by joem » Mon Dec 08, 2014 1:57 am

sennevb 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..
How to replace ProFTPD with vsftpd on a RHEL or CentOS

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
Top

emardotcom
Posts: 54
Joined: Wed Dec 11, 2013 9:05 pm

Re: Port-Forwarding for Passive FTP
  • Quote

Post by emardotcom » Mon Dec 08, 2014 3:47 am

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.

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
This will force your clients to use SFTP so that people won't steal there passwords
Top

sennevb
Posts: 31
Joined: Fri Dec 05, 2014 3:10 pm

Re: Port-Forwarding for Passive FTP
  • Quote

Post by sennevb » Mon Dec 08, 2014 5:52 pm

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 switched to proftpd because i had problems logging on.

I reainstalled default ftp, opened ports 20 , 12000:12100 and it works now!
Top


Post Reply
  • Print view

17 posts
  • Previous
  • 1
  • 2

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password