Virtualmin Backup to FTP Server | passive ftp connection problem

  • molski
  • 12/05/07
  • Offline
Posted: Sun, 2010-07-11 04:01

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: xxx.xxx.xxx.xxx:21 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,

Molski


you'd probably be better off

  • ronald
  • 12/20/07
  • Offline
  • Sun, 2010-07-11 04:20

you'd probably be better off to install ssh on your WS2008 box.
here is a how-to
http://www.windowsnetworking.com/articles_tutorials/install-SSH-Server-W...


Thanks Ronald, I already

  • molski
  • 12/05/07
  • Offline
  • Sun, 2010-07-11 04:26

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