![]() |
| |||||||
| Home | Forums | Rules | All Albums | Blogs | Donate | Subscriptions | Register | Mark Forums Read | vBExperience |
| Internet/Networking Everything concerning your internet connection or network, as well as browsers. |
![]() |
| | LinkBack | Thread Tools |
| | #1 | ||||||||||||||
| Modder-ator
| I want to set up a simple FTP so I can share files with another computer. Not sure if it will be on a home network/LAN type thing or just straight over the internet so could you specify if it would work differently in either situation? ![]() | ||||||||||||||
| | | ||||||||||||||
| | #2 | ||||||||||||||
| Meow means woof in cat.
Join Date: Oct 2006 Location: Elba, AL
Posts: 1,903
| I haven't had a need to setup an FTP for quite some time. When I did I used golden FTP, its decent for a home FTP, and I think its still free (I used it for internet, I'm not sure about home LAN but I don't see why it wouldn't work for that as well) Golden FTP server :: Download Also, for home/LAN use, why not just map a network drive? Intel Core 2 Duo E6420 Conroe @ 2.80GHz Cooler Master GeminII - Thanks Rich and HL! GIGABYTE GA-965P-DS3 (rev. 1.3) EVGA GeForce 8800GTS 320MB @ 726/962 CORSAIR XMS2 4GB (4 x 1GB) DDR2-800 OCZ GameXStream 600W PSU Maxtor 300GB 7200RPM SATA150 16MB cache HDD Seagate 500GB 7200ROM SATA300 16mb cache HDD Sony NEC Optiarc 18X DVD±R DVD Creative Sound Blaster X-Fi XtremeMusic 7.1 ZyXel m-202 802.11g adapter Antec Nine Hundred Creative 5.1 speakers Viewsonic Optiquest q20wb 20" LCD | ||||||||||||||
| | | ||||||||||||||
| | #3 | ||||||||||||||
Join Date: Jul 2006 Location: Linuxland
Posts: 14
| You can set up a Linux server with FTP, I use ProFTP on my Local Network, but for some reason I can't do passive connections outside of my network unless I turn on the DMZ on my Ethernet Router. You can set up a ProFTP server easy. In a Debian based distro go to a command line and do Code: sudo apt-get install proftpd gproftpd Code: sudo gproftpd I could not get Passive connections working outside of my network without turning on the DMZ on the internal IP of my server, but I'm thinking this is a router incompatibility, so you may be able to. You need to forward ports 20-21 (TCP) and ports 1024-<ending ports, if you want 50 clients connected simultaneously do 1024-1060 about> for passive connections.(TCP) Remember these ports 1024-<number_greater_than_1024_that's_set_for_TCP> and then either edit the proftpd.conf or set the passive ports in the gproftpd configuration tool. | ||||||||||||||
| | | ||||||||||||||
| | #4 | ||||||||||||||
Join Date: Jan 2006 Location: Toronto, at the moment
Posts: 124
| It should work the same from either. I posted this somewhere else, but I'll repost it here for people. Note that I wrote this for a guy with a Linksys WRT54G - if you have a different router the theory is the same but the IPs and links will be different. #1) Register with DynDNS for their free dynamic DNS service (ie: "yourname.serveftp.net" or similar). https://www.dyndns.com/services/dns/dyndns/ #2) Don't bother installing the DynDNS client, because your WRT54G will do it for you. Log into your router. On the "Setup" page go to the "DDNS" tab (http://192.168.1.1/DDNS.asp). Under DDNS service type pick "DynDNS.org". Fill in the info. Now yourname.serveftp.net or whatever you picked will point to your router. We'll leave that as such for the moment. #3) Give your server a static IP address in the same range that your DHCP server gives out (ie: 192.168.1.222). Under TCP/IP properties... You'll also need to fill in subnet (255.255.255.0) and gateway (192.168.1.1 or whatever). And don't forget the DNS servers - you can find them in your ISP literature or look at your router's status page (http://192.168.1.1/Status_Router.asp). #4) Install your FTP server software. I'll recommend Cerberus FTP Server (free). #5) I'll walk you through setting up Cerberus. Any FTP server software should be similar. Skip the setup wizzard. Configuration -> Server manager: - General: Don't need to change anything. Adjust the timeout if you want. - Interface: Lots of things to change:
Configuration -> User manager: - Set yourself up a username and pwd. Make sure you designate yourself a root directory (ie: C:/FTP or similar). Get rid of the guest account if there is one. Now that Cerberus is listening for incoming FTP requests on 192.168.1.222 on port 22222 (often writen as 192.168.1.222:22222), we just have to link yourname.serveftp.net to 192.168.1.222. #6) Back in your router, go to the port forwarding section on the applications and gaming page (http://192.168.1.1/Forward.asp). - Under application name enter "FTP" or similar. - Under start port enter the start port you picked earlier (22222 in my example) - Under end port enter the end port you picked earlier (22272 in my example) - Under protocol you can leave it set to both - IP address will be the static IP you picked (192.168.1.222 in my example) - And of course make sure it is enabled. So everything should be set up now :) #7) If you're trying to log into your server using IE, you'll have to make sure it is set to passive mode. Tools -> Internet Options -> Advanced -> Make sure "Use Passive FTP" is checked (about a third of the way down on IE 6). Actually, you'll have to use passive mode no matter what FTP client you use. #8) By now your DynDNS should have been updated. Go to your router's DDNS page and check (http://192.168.1.1/DDNS.asp). It should say "DDNS is updated successfully" or similar. If it says that there is an error check your DynDNS username and pwd. And make sure your hostname is correct. #9) You should now be able to log into your server at ftp://yourname.serveftp.net:22222/ Let me know if you get stuck. Workstation: P5WD2-P | 945D | 2x 1GB | X1950Pro XF | 4x Raptor 74G - RAID 0 | Lite-On SOHD-16P9S | Plextor PX-716A Laptop: Dell 640M | T2050 | 2x 512MB | 120GB | intel A/B/G | Bluetooth File Server: P5GDC | 330J | 2x 512MB | X700pro | Promise S150 SX4 w/256MB | 4x Seagate 200GB RAID 5 Other: Linksys WRT54GL | Linksys EG008W | LaserJet 1320n w/144MB | ||||||||||||||
| | | ||||||||||||||
| | #5 | ||||||||||||||
| Modder-ator
| JCLW, on Step #2, what do you mean by "Log into your router"? I don't really understand any of that. ![]() I knew I hated networking for a reason!!!!!! ![]() | ||||||||||||||
| | | ||||||||||||||
| | #6 | ||||||||||||||
Join Date: Jan 2006 Location: Toronto, at the moment
Posts: 124
| How are you connected to the internet? Do you have more then one computer at home? Networked together? Usually a (home) network looks kind of like the following (with high speed internet): ![]() I'll post more tomorrow - gotta get some shut-eye. Workstation: P5WD2-P | 945D | 2x 1GB | X1950Pro XF | 4x Raptor 74G - RAID 0 | Lite-On SOHD-16P9S | Plextor PX-716A Laptop: Dell 640M | T2050 | 2x 512MB | 120GB | intel A/B/G | Bluetooth File Server: P5GDC | 330J | 2x 512MB | X700pro | Promise S150 SX4 w/256MB | 4x Seagate 200GB RAID 5 Other: Linksys WRT54GL | Linksys EG008W | LaserJet 1320n w/144MB | ||||||||||||||
| | | ||||||||||||||
| | #7 | |||||||||||||||
| HardwareLogic's Otis Campbell (retired from Mayberry)
| Quote:
Now if you have never logged into your router, it will ask for a username and password. Most all of the routers use the same initial login information. user name=admin password= admin From that point you can change that information. | |||||||||||||||
| | | |||||||||||||||