You are not logged in.

#1 2004-10-10 14:36:01

Dreameen
Member
From: Poland
Registered: 2004-09-06
Posts: 252

My ftp server...

I've tried setting a ftp server in proftpd but the problem was that remote users couldn't connect to my machine. The funny thing is that i could login to my ftp without problem. Is it sth with permissions or network configuration???

Offline

#2 2004-10-10 16:26:02

robot5x
Member
Registered: 2004-01-26
Posts: 266

Re: My ftp server...

what sort of rules is your firewall using?
perhaps it is refusing incoming connections on port 21?

Offline

#3 2004-10-10 17:57:31

khazdar
Member
From: ohio
Registered: 2003-11-06
Posts: 123

Re: My ftp server...

Do you connect directly into your cable/dsl modem? or do you go through a NAT/router?

Offline

#4 2004-10-10 23:36:44

paranoos
Member
From: thornhill.on.ca
Registered: 2004-07-22
Posts: 442

Re: My ftp server...

i had a similar problem. my computer is behind a nat router.

i could connect to my ftp server as localhost, but not as the external wan ip address. you need to set up proftpd to use specific ports for pasv mode, and forward those ports through your router.

Add the PassivePorts line to your /etc/proftpd.conf

# Port 21 is the standard FTP port.
Port   21
PassivePorts   50000 50100

The passive ports can be any range you want. The range needs to be at least as large as the number of connections you want to allow. 100 should be enough for a personal server.

Offline

#5 2004-10-11 14:25:19

Dreameen
Member
From: Poland
Registered: 2004-09-06
Posts: 252

Re: My ftp server...

I emailed my admin and it turned out that all the computers in our network are invisible to the external machines. It's a wireless network, all computers have their local ip's e.g.(192.168.0.113) and they connect to the main station that provides internet connection, so the only visible IP is the IP of the main station. I don't know if it's router or NAT or just lack of my individual IP address, but the thing cuts me out from the outside world. So i guess that having my own ftp in this case is impossible... :?

Offline

#6 2004-10-11 16:08:05

robot5x
Member
Registered: 2004-01-26
Posts: 266

Re: My ftp server...

In this case your admin could just set up ip masquerading to make it look as though you do have an IP address...I don't know what kind of network you're on so I don't know if yr admin would do this.

Offline

#7 2004-10-20 15:45:52

Dreameen
Member
From: Poland
Registered: 2004-09-06
Posts: 252

Re: My ftp server...

Ftp up and running. I have one question though:

-Is it OK to change the ownership of my ftp dirs this way:

1. (user:ftp,group:ftp by default)
/home/ftp<--for anonymous logins
*(user:my_regularuser,group:users)
2. (user:user_xyz,group:users)
/home/user_xyz<--user_xyz can login with password and upload stuff to uploads in his ~
(*user:my_regularuser,group:users)

*=after changes

The reason behind this is that i'd like to be able to copy stuff from my_regularuser dir to ftp dirs, without gaining root. I don't know if it's the proper way to do this, so let me know if i'm breaking some security rules.

Offline

#8 2004-10-21 21:17:01

Dreameen
Member
From: Poland
Registered: 2004-09-06
Posts: 252

Re: My ftp server...

Nevermind, at least it works flawlessly   smile

Offline

Board footer

Powered by FluxBB