Virtualmin Backup to FTP Server | passive ftp connection problem

3 posts / 0 new
Last post
#1 Sun, 07/11/2010 - 05:01

Virtualmin Backup to FTP Server | passive ftp connection problem

Hi all,

When I schedule a backup with Virtualmin (3.79 GPL-1) to backup the files to a (Windows 2008 SP2) FTP server, the backup fails. This is because Virtualmin uses a passive FTP connection, which won't work because this FTP server is behind a firewall and only ports 20-21 are forwarded to the FTP Server. A connection is established (on port 55xxx i see in the backup logs) and times out after that because of the used port. When I use a FTP client on my notebook, on the same network, I notice the same. Only non-passive connections work, with passive FTP connections it times out on the directory listing.

Opening/forwarding ports from 49000-65535 is not an option in this situation. Is it possible to setup Virtualmin to don't use passive FTP, but only ports 20-21? When creating the backup schedule filling in the IP address like: is not possible, the ':21' is removed after the schedule is saved.

I hope there will be an solution to this, otherwise I have to make local backups with Virtualmin and FTP them to the FTP server with a seperate script :(

Thanks in advance,


Sun, 07/11/2010 - 05:20
ronald Pro Licensee
ronald's picture

you'd probably be better off to install ssh on your WS2008 box.
here is a how-to

Sun, 07/11/2010 - 05:26 (Reply to #2)

Thanks Ronald, I already thought I needed to go into this direction. I will take a look at it ;)