Koozali.org: home of the SME Server

FTP server behind SME

Offline psoren

  • *
  • 371
  • +0/-0
FTP server behind SME
« on: November 17, 2013, 10:07:46 AM »
Hi,

I need to have a FTP server behind my SME server.
The users needs it to upload large grafic files and i don't want to add all those users to the main SME gateway.

I am using vSphere V5 with SME8 as gateway and a couple of other servers behind it, so i can add another easy.

So should i use another SME install or should i get a dedicated distro for FTP server, and which?

Also, can i forward port 21 for FTP to the server behind main SME even if it's also used on the main SME?

Thanks

Per

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Re: FTP server behind SME
« Reply #1 on: November 17, 2013, 03:56:53 PM »
Here's a write-up on active-vs-passive FTP, with some description of the associated firewall complications:
http://slacksite.com/other/ftp.html

As I remember, to have an FTP server behind your SME server, you'll need to:

- configure the internal ftp server to use only a limited range of ports for the data communications
- forward tcp 21 and udp 20 from the SME to the internal FTP server
- forward the configured range of FTP data ports from the SME to the internal FTP server

...then you get to deal with the security problems inherent in FTP.

For simplicity, I would probably use one of the many home NAS devices that includes a built-in FTP server.

If you can find a NAS device that supports ftps (ftp over ssl) or sftp (ftp over ssh), I think your firewall configuration is greatly simplified:
https://www.google.com/search?q=%28netgear+OR+buffalo+OR+Seagate+OR+Maxtor%29+AND+%28+sftp+OR+ftps%29

[you're not asking but]
I would tend to solve this problem using Dropbox, Google Drive, Owncloud, Webshare or WebDAV
[/you're not asking but]

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: FTP server behind SME
« Reply #2 on: November 18, 2013, 12:13:13 AM »
mmccarn, psoren

Quote
[you're not asking but]
I would tend to solve this problem using Dropbox, Google Drive, Owncloud, Webshare or WebDAV
[/you're not asking but]

While not being asked, I'd agree with that approach also.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline psoren

  • *
  • 371
  • +0/-0
Re: FTP server behind SME
« Reply #3 on: November 18, 2013, 08:20:09 AM »
mmccarn, psoren

While not being asked, I'd agree with that approach also.

Thanks for the replies,

I am looking into the options but each user must not see the others files from other users, i think FTP is the best way to manage that.
I have installed FreeNAS to have a look at that.

Per

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: FTP server behind SME
« Reply #4 on: November 18, 2013, 03:58:23 PM »
psoren

Webshare has the ability to configure different users who have their own upload/download area.

Owncloud allows users to be added, but not sure if it creates different upload/download areas, still testing.

FTP is insecure, so why even consider using it.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: FTP server behind SME
« Reply #5 on: November 18, 2013, 07:02:34 PM »
I need to have a FTP server behind my SME server.

I'm sure you don't "need" that. Find another solution. This one is certainly more trouble than it is worth.

Offline psoren

  • *
  • 371
  • +0/-0
Re: FTP server behind SME
« Reply #6 on: November 18, 2013, 09:35:08 PM »
I'm sure you don't "need" that. Find another solution. This one is certainly more trouble than it is worth.

Correct. I wil instead use the webshare contrib. I just tested it on another server, and it can do exactly what i need.

Thanks for the help all :-)

Per