Koozali.org: home of the SME Server

Access i-bay via VPN to FTP

speedracer

Access i-bay via VPN to FTP
« on: December 31, 2004, 09:52:35 AM »
I've done a bunch of searchs but I haven't found a solution if I have misconfigured or just plain wrong.

Based on this
SME: 6.01
http://mirror.contribs.org/smeserver/contribs/bobk/SME_Manual/chpt-14.02.html

Quote
accessing an i-bay via Windows file sharing


This works like a charm via remote VPN.  :pint:

But I if try this (remote via VPN)
Quote

accessing an i-bay via the FTP server
ftp:// ibayname : password @ftp. domainname


I get these errors:
FTP: Anonymouse access granted, restrictions apply
SFTP: Fatal: unable to initialize SFTP:Could not connect

Here are my settings:
Code: [Select]
Ibay setup
Information bay name: Website1    
Description: web1
Group:   web1 grp

User access via file sharing or user ftp:   Write = group, Read = everyone

Public access via web or anonymous ftp   Entire Internet (no password required)


Code: [Select]

Remote settings
Secure Shell Access:  Allow access only from local networks
Allow administrative command line access over secure shell: No
Allow secure shell access using standard passwords: Yes

PPTP Settings: 2
FTP Settings: Allow access only from local network
Ftp password access: accept passwords only from local networks


Notable I have read this and a few other threads relating with sftp but would ftp via local network not work as described in the manual?

http://forums.contribs.org/index.php?topic=17872.0

http://www.dungog.net/sme/files/e-smith-usershellaccess-0.1-1.noarch.rpm

Direction would be appreciated :)
Thanks

speedracer

Access i-bay via VPN to FTP
« Reply #1 on: January 04, 2005, 07:12:36 AM »
Any sugestions?

Under VPN to te server with ftp to the ibay via:
accessing an i-bay via the FTP server
ftp:// ibayname : password @ftp. domainname

Error:
FTP: Anonymouse access granted, restrictions apply

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Access i-bay via VPN to FTP
« Reply #2 on: January 04, 2005, 10:38:15 AM »
speedracer

> But I if try this (remote via VPN)
> ftp:// ibayname : password @ftp. domainname

when connected via VPN, try this instead
ftp://ibayname:ibaypassword@serverIP

If you want to upload then you will need to use a FTP client eg SmartFTP and follow the instructions in the sme manual ie

"It is possible to upload files using FTP, but to do so you must login to the server with a valid user name, not the i-bay name. That user account must be a member of the group that has been given write permission for the i-bay (configured on the i-bay screen). You would then change to the i-bay directory (using the ftp command "cd ../../ibays/ibayname"). You will now be able to upload files from your FTP client to the appropriate directories."


Why do you want to go to the bother of using VPN/FTP when you can establish a VPN connection and map a drive letter to the ibay and upload files that way ?
eg
net use W: \\serverIP\ibayname
...

speedracer

Re: Access i-bay via VPN to FTP
« Reply #3 on: February 18, 2005, 11:47:30 PM »
Quote from: "RayMitchell"
speedracer
Why do you want to go to the bother of using VPN/FTP when you can establish a VPN connection and map a drive letter to the ibay and upload files that way ?
eg
net use W: \\serverIP\ibayname

Sorry, I didn't see a reply for some reason. I was trying to make it easy for the users to upload files while protecting their passwords than through FTP.I wanted to disable external FTP so that it would be difficult for worms and exploits to occur.

For some reason even setting up the VPN and mapping the drives a couple of users are unable to traverse their folder (very slow). I have tested out the connection many times on different systems and everything works. It just these couple of XP users that can  seem to freeze right after a VPN connection.