PDA

View Full Version : FXP & Proftpd



S2S-Robert
01-17-2004, 11:10 AM
I want to (temporary) allow FXP transfers for users to directly put their backup file from one server to the other. Especially users with backups 200MB big that's a huge relief.

So what I did was I put in the <globals> section of /etc/proftpd.conf the line



AllowForeignAddress on


I did this for both servers, reread (didn't work), restart, but still nothing. Do I need to add it in the <vhost> section as well? How will I get FXP working?

DirectAdmin Support
01-17-2004, 12:51 PM
Hello,

That *should* do it.. try also putting it in the top main sectin outside of the global bit.

http://www.castaglia.org/proftpd/doc/contrib/ProFTPD-mini-HOWTO-FXP.html
http://proftpd.linux.co.uk/localsite/Userguide/linked/x410.html

John

S2S-Robert
01-17-2004, 01:01 PM
I shut down the firewalls, I put it again in both global and in the server config part, but I can't tranfser. Strange...

I'll give the virtual host a try, but I doubt if that works...

[edit]
Nope, didn't work. I tried to connect from a server that *does* allow FXP (a speed test server) and it's clearly my proftpd that somewhere doesn't allow it. I do see the file being created, but that's just it which leaves me to believe it's a passive mode thing (could be wrong here)

outpernet
02-08-2004, 05:34 PM
im interested in that feature too

S2S-Robert
02-13-2004, 09:05 AM
any thoughts on this one?

I could try and put it on the proftpd mailinglist, but in that case I'd like a clean DA proftpd conf file. Not everybody needs to know my configuration ;)

DirectAdmin Support
02-13-2004, 09:29 AM
/usr/local/directadmin/data/templates/proftpd.conf

John

S2S-Robert
02-19-2004, 01:43 PM
Ok, I put it on the mailinglist and I was asked to setup the PassivePorts and MasqueradeAddress. Any idea's as how to do so? And what to set it to?

http://www.castaglia.org/proftpd/doc/contrib/ProFTPD-mini-HOWTO-FXP.html

DirectAdmin Support
02-20-2004, 09:30 AM
Hello,

I'm assuming you just need to add the following to the top section of the /etc/proftpd.conf file:

PassivePorts 49152 65534
MasqueradeAddress 1.2.3.4where 1.2.3.4 is the server IP..

John

S2S-Robert
02-21-2004, 03:33 AM
So if I want to provide passive ports for a more limited number of ports (why use so many?) I can just change the lower / upper variable right?

But I'll first see if this is helpfull in making it work ;)

DirectAdmin Support
02-21-2004, 12:26 PM
Yes, I think you can just lower the range by changing the numbers. I'm just going on what the docs are saying, I've never done it myself.

John

rmday
12-05-2005, 08:50 PM
Any one had luck getting FXP working on proftpd??