Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ftp server
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
lotusvale
Guru
Guru


Joined: 06 Mar 2003
Posts: 339
Location: Canada

PostPosted: Tue Mar 25, 2003 3:13 am    Post subject: ftp server Reply with quote

anybody knows how to setup ftp server for gentoo?
thx
_________________

-SuSe shot-
| -G shot-

Shadowrider's Lair
Back to top
View user's profile Send private message
chris4linux
Apprentice
Apprentice


Joined: 13 Nov 2002
Posts: 210
Location: Germany

PostPosted: Tue Mar 25, 2003 2:15 pm    Post subject: Reply with quote

quite easy:
Code:

emerge proftpd
rc-update add proftpd default
/etc/init.d/proftpd start

and edit the conf file befor you start it ;) under /etc/proftpd (for examples look @ proftpd.org)

- Chris
_________________
NOTICE: alloc: /dev/null: filesystem full
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Mar 25, 2003 3:05 pm    Post subject: Reply with quote

Moved from Portage & Programming.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
sawanv
Apprentice
Apprentice


Joined: 05 Dec 2002
Posts: 238

PostPosted: Tue Mar 25, 2003 3:26 pm    Post subject: Reply with quote

emerge vsftpd

and configure it properly

Personally I prefer to get the vsftpd version 1.1 (portahe provides 1.0..something). I found 1.1 quite good. You will need to download source and compile.

Your choice.

Sawan
Back to top
View user's profile Send private message
chris4linux
Apprentice
Apprentice


Joined: 13 Nov 2002
Posts: 210
Location: Germany

PostPosted: Tue Mar 25, 2003 4:12 pm    Post subject: Reply with quote

I've never run vsftp without problems....I don't know why, but vsftp should be also very good for more user ftp's (or not??), I belive better than proftpd (vsftp isn't so complex...)

- Chris
_________________
NOTICE: alloc: /dev/null: filesystem full
Back to top
View user's profile Send private message
lotusvale
Guru
Guru


Joined: 06 Mar 2003
Posts: 339
Location: Canada

PostPosted: Wed Mar 26, 2003 2:23 am    Post subject: Reply with quote

thx for the reply..
i've installed it and used the anonymous setup. (just from the sample).
how do i access now to the server (like for other people)?
_________________

-SuSe shot-
| -G shot-

Shadowrider's Lair
Back to top
View user's profile Send private message
easykill
Apprentice
Apprentice


Joined: 07 Dec 2002
Posts: 230

PostPosted: Wed Mar 26, 2003 6:40 am    Post subject: Reply with quote

lotusvale wrote:
thx for the reply..
i've installed it and used the anonymous setup. (just from the sample).
how do i access now to the server (like for other people)?


well, there's a good chance port 21 is blocked by either your firewall (or more annoyingly and can't do anything about) your ISP.

If it's the former, read up on linux firewalls and/or xinetd, etc...

If it's the latter (which if you have cable it likely is), all you can do is tell it to run on some other port (3423 or something for example) and have people use taht port. Just make sure you don't use a port that is already bound to something
/etc/services has a listing.
Back to top
View user's profile Send private message
honold
n00b
n00b


Joined: 29 Jan 2003
Posts: 22

PostPosted: Wed Mar 26, 2003 3:58 pm    Post subject: Reply with quote

i would suggest pure-ftpd or vsftpd over proftpd for security and configuration
Back to top
View user's profile Send private message
lotusvale
Guru
Guru


Joined: 06 Mar 2003
Posts: 339
Location: Canada

PostPosted: Wed Mar 26, 2003 4:40 pm    Post subject: Reply with quote

well..i don't know if there's an error yet,(it seems like it's working fine now),
but how do i access to my own ftp server?
like i just use a ftp client, then enter the host as my ip?
_________________

-SuSe shot-
| -G shot-

Shadowrider's Lair
Back to top
View user's profile Send private message
lotusvale
Guru
Guru


Joined: 06 Mar 2003
Posts: 339
Location: Canada

PostPosted: Wed Mar 26, 2003 4:52 pm    Post subject: Reply with quote

i'm just wondering, how do we specify say which folder is only allowed for access from outside?
say ~/share is the directory for anonymous
how do we set that up?
thx
_________________

-SuSe shot-
| -G shot-

Shadowrider's Lair
Back to top
View user's profile Send private message
sawanv
Apprentice
Apprentice


Joined: 05 Dec 2002
Posts: 238

PostPosted: Fri Mar 28, 2003 2:22 pm    Post subject: Reply with quote

$ ftp localhost portnumber
Back to top
View user's profile Send private message
giant
Tux's lil' helper
Tux's lil' helper


Joined: 01 Aug 2002
Posts: 107

PostPosted: Fri Mar 28, 2003 2:50 pm    Post subject: Reply with quote

what kind of program are you using now ? proftpd ?

check the conf for an entry something like this -

DefaultRootDir ~

the ~ - as far as I remember keeps the users into this folder only.

But I think there should be some examples coming with the package.
Back to top
View user's profile Send private message
lotusvale
Guru
Guru


Joined: 06 Mar 2003
Posts: 339
Location: Canada

PostPosted: Fri Mar 28, 2003 3:58 pm    Post subject: Reply with quote

giant wrote:
what kind of program are you using now ? proftpd ?

check the conf for an entry something like this -

DefaultRootDir ~

the ~ - as far as I remember keeps the users into this folder only.

But I think there should be some examples coming with the package.

yes it's proftpd
thx..i'll check that out
_________________

-SuSe shot-
| -G shot-

Shadowrider's Lair
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum