Log in

View Full Version : BulletProof FTP with a Linksys Router


TheeeGod 3
29th June 2002, 21:53
hello,
i want to run a G6 server with my linksys router but it doesnt seem to wrok. it works randomly some times but then other times the connection just times out for a lot of people trying to connect. i tired searching online but the replies that i found werent as detailed. i tried enabling the dmz host in my router but that doesnt seem to solve the problem either. can someone please give me a detailed and thorough explaination on how to do this? lest say my ip is 12.34.567.890 and my Lan ip is 192.168.1.101 and i wan to open up a server on port 1235. can someone plz help?
thnx in tons for your time

jggimi
30th June 2002, 03:15
1) Both your server software, and the client software must support Passive Mode FTP to work through a Linksys router. For example, the built-in FTP in M'soft Internet Explorer does not -- or, at least, I've never figured out how to turn it on.

2) FTP uses a base port for login and control sessions. That's the number the client will need for initial logon.

3) FTP then uses a different port, or series of ports, for the actual transfer.

I use GuildFTP. I set the base port (eg: 1000) and then a range of ports (eg: 1001-1050) for file transfer. In addition, for passive mode, I must tell it the address of the router on my ISP's network.

All I need to do in the router is forward ports 1000-1050.

Hope that helps.

Mrafrohead
1st July 2002, 22:40
Here's how you do it... It's quite simple...

Make sure that you are getting your external IP from the router. NOT your internal IP. You need to make sure that you have port forwarding enabled for both your connection port and one port below your connection port for transfers.

Let's say that this is your computer settings.

Internal: Computer running G6 Ftp Server.
Internal IP for computer: 192.168.1.1
G6 Open on Port 420

On port forwardin you will open up port 420 and 419 (one less than connection port) so that you have a connection and a transfer. Make sure that you have those pointing to the computer that you are using with a static connection. IE> port 420 to computer 192.168.1.1 (being pc with g6 installed).

Alright now, as for G6 ftp setting...

Go to Multi IP Settings...

Check the Passive IP Mode box.
Then enter your EXTERNAL ip address... And then enter the port range that you want to be used. I recommend just your connection port and one less than that, unless you are expecting VERY high volumes of traffic.

Other than that, if you are using NIS, you are going to need to open up your connection port in the System Settings so that you don't get any unused port blocking errors...

Should you have any questions, leave me a PM and I'll help you out;)

Mrafrohead

mrbass
2nd July 2002, 04:53
I got in trouble over on dslreports.com forums cuz they thot I hate linksys. Actually I ran a 4 port router for 1 1/2 year and in general was happy. Even ran a ftp server on occassion. You mentioned it works and then times out. I'll make this simple for you. Change routers. The linksys can't handle upload/download simutaneously. I gurantee you can crash your router. Upload at 30KB/sec or above and download 100KB/sec or above at the same time and I gurantee you 100% of the time it'll stop routing and you need to unplug your linksys router. I solved it by getting a netgear router and never had those issues again. Basically the netgear has a faster arm cpu (50Mhz) compared to the dinky 33Mhz (I think it was) of the linksys.

I used to run bulletproof/g6ftp but guildftpd rocks..and 1.0 is imminent.

Mrafrohead
2nd July 2002, 18:32
Mrbass

I have to disagree with you there... I am running a few different servers off of a few of my boxes connected to my Linksys router. It performs flawlessly...



Also, when it times out.. Are you running a software firewall and if so, which one is it???

I have a fix for that also...

Mrafrohead