LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-13-2005, 06:13 AM   #1
Stevetgn
Member
 
Registered: Jun 2003
Distribution: SuSE10, Mepis,
Posts: 230

Rep: Reputation: 30
Help with a task far too complicated 4 a newbie-Setting up an FTP server!


I would like to setup an FTP server at home so I can access files from my work office PC. The server will be behind a Netgear ADSL firewall router and I have no idea where to start. Is an FTP server the best way? Could I set it up like a mini http website and password the folders I want to be private?
The other problem is I don't have a fixed IP address with my ISP.

Simple solution please, I'm a networking,ftp'ing, linux newbie!!!

Many thanks in advance

Steve
 
Old 12-13-2005, 07:24 AM   #2
[NL]_Target
Member
 
Registered: Aug 2003
Distribution: Arch Linux 0.7
Posts: 81

Rep: Reputation: 15
Hey Stevetgn,

About the dynamic IP address:
go to www.dyndns.org and register some name for it, then that name will allways point to your current IP address. You will need to run the dyndns.org update client on your computer, but I don't think that will be a problem to you.

About the Router:
You will need to find an option in your router for a virtual server or something like that. This means that the public port your servers runs on, is routed to your own pc. Check your router manual for things like 'port forwarding' and 'virtual servers'. You are *not* interested in a DeMilitarized Zone / DMZ, as this poses a possiblesecurity risk.

About the Server:
An FTP server is probably the best if you want to have user accounts for a couple of people and if you need to upload stuff TO the FTP server. If the only thing you want is that the files on the server can be DOWNLOADED from everywhere, a HTTP server is probably way easier. I don't know of a way to limit permissions on a per-folder basis with FTP, and if there IS one, it's probably more complicated than that it is with HTTP. As a webserver I suggest the Apache Webserver which can be found here: http://httpd.apache.org, but it will probably come with your distribution.

For the permission per folder problem look into a thing named '.htaccess'

For the folder indexes be sure to use: Options +Indexes.

I hope this helps you out, if you need any more help configuring the mentioned software, feel free to ask.

Greets, Target
 
Old 12-13-2005, 07:30 AM   #3
Stevetgn
Member
 
Registered: Jun 2003
Distribution: SuSE10, Mepis,
Posts: 230

Original Poster
Rep: Reputation: 30
WoW! what a reply.

Cheers mate.
That will give me something to go at this weekend!
I'll be in touch if (when!!!) I get stuck.

Thanks again

Steve
 
Old 12-13-2005, 07:32 AM   #4
Stevetgn
Member
 
Registered: Jun 2003
Distribution: SuSE10, Mepis,
Posts: 230

Original Poster
Rep: Reputation: 30
1 quick question, does apache have a nice user friendly GUI or do you know of one if not?

Steve
 
Old 12-13-2005, 08:31 AM   #5
[NL]_Target
Member
 
Registered: Aug 2003
Distribution: Arch Linux 0.7
Posts: 81

Rep: Reputation: 15
Hey Stevetgn,

Glad it helped you out, good luck this weekend! About the apache config thing: It is configured to a very secure default config, if you walk through the config file (/etc/httpd/conf/httpd.conf on my pc) the things you want to change are the 'Options' tag and the first couple of lines about the server name and port etc. It's really not that complicated, but if you want to use a gui you could check google (http://www.google.nl/search?hl=nl&q=...+zoeken&meta=).

My experience with those is though, that getting the gui to work is just as difficult, if not more difficult, than the original task you tried to configure.

I'm pretty good at apache config files, and I'll be more than glad to help you out, it shouldn't be too difficult.

Greets, Target
 
Old 12-13-2005, 08:45 AM   #6
Jim Deakin
LQ Newbie
 
Registered: Dec 2005
Posts: 5

Rep: Reputation: 0
I do a similar thing.
I used www . no-ip . com (sorry I had to munge the address as the site won't let me post one until I've made 5 posts), and set up an address. It's similar to dyndns
Get the sshd service running, and check you can connect from your work machine. (Make sure your firewall allows port 22)
Try gftp to move files, telling it to connect via ssh2.

Jim

Last edited by Jim Deakin; 12-13-2005 at 08:51 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up a FTP server and Game server Spyiish Slackware 38 11-01-2004 06:32 AM
Setting up an FTP server jwijesundra Linux - Networking 10 07-13-2004 08:24 AM
Can i get help setting up an ftp server? jon_k Linux - Software 1 04-18-2004 02:46 PM
Setting up an FTP server? ogden2k Linux - Networking 4 05-26-2003 09:48 PM
Setting up an FTP Server??? Ricardo77uk Linux - Networking 5 06-25-2001 05:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration