Computing.Net > Forums > Networking > FTP Server behind router prob...

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

FTP Server behind router prob...

Reply to Message Icon

Name: jimdish
Date: October 1, 2005 at 11:24:33 Pacific
OS: win xp pro
CPU/Ram: 1.7 ghz P4/ 1024 mb
Comment:

I am trying to set up a ftp server using my residential dsl acoc--t. Mainly to be able to access files remotely. I am using BulletProof FTP server(if there is a good FREE alternative I would check it out) and smartFTP client.

I am running winxp pro and using zone alarm free version(the latest release.) I currently have zone alarm and windows firewall disabled. I am using a speedstream 5200 dsl modem and am behind a linksys BEFW11S4 firmaware ver.4.

I have set each pc on my home network to a static internal ip different from each other. I have also set up port forwarding on my router to ports 20 and 21 to forward to my desktop running BPFTP.

The problem I am having is when I try to connect to BPFTP through smartftp I get this message:

"A connection attempt failed because the connected party did not respond after a period of time or established connection failed because connected host has failed to respond"

I thought maybe my isp was blocking port 21 so I changed the port to lets say 3096. When I attempted to connect then I got this message:

"Connection attempt failed because destination was actively refusing connection"(I also changed the port forwading for this test)

I have set up test user account to log in anonymous and still the same thing. Everything is now back to the defaults i.e.port 20 and 21.

I also tried to connect to the server from a remote location and same message. I think my router is not forwarding the requests properly because I tried to ping my IP ex.100.100.100.100:21 and got "Ping request could not find host"

Any help is appreciated, I have read the tuts and searched for answers but to no avail. Hopefully I have given enough information. Am also looking for a GOOD FREE FTP SERVER.

Thanks in advance, I always get great help here and it is much appreciated.

Jim



Sponsored Link
Ads by Google

Response Number 1
Name: heropsycho2177
Date: October 1, 2005 at 20:12:04 Pacific
Reply:

"A connection attempt failed because the connected party did not respond after a period of time or established connection failed because connected host has failed to respond" means no answer of any kind was given. This leaves me to believe it's a firewall issue in your router, the ISP or your computer since a response isn't being transmitted at all. Something is blocking it. Simple to figure out really. Try within your network to access the FTP server. If it works, your computer is configured correctly. Next, wire a different computer to the WAN connection and set it to a different IP address with the same network address and try. If it doesn't work, it's a router issue. If it does, your ISP is blocking it.

"Connection attempt failed because destination was actively refusing connection" means something responded, most likely your computer, which means something is misconfigured on your computer.

"Am also looking for a GOOD FREE FTP SERVER."

XP Pro has IIS with FTP in it. It's just limited to a low number of concurrent connections.

Help survivors of Hurricane Katrina. Please donate to the American Red Cross.

www.redcross.org


0

Response Number 2
Name: jimdish
Date: October 2, 2005 at 08:55:04 Pacific
Reply:

Thank you very much. I used my laptop with a different ip on my network and I can access the server fine so my isp must be blocking it.

One more question. Can I use different ports than 20 and 21? or does my isp block all ftp protocols no matter what ports i use? I tried but I got the "actively refusing connection" message.


0

Response Number 3
Name: heropsycho2177
Date: October 2, 2005 at 09:09:35 Pacific
Reply:

"Can I use different ports than 20 and 21? or does my isp block all ftp protocols no matter what ports i use?"

Your ISP could block it still depending on the firewall it uses. If it actually goes in to the packet and examines it, it's quite easy to figure out if it's an FTP packet.

The way around this would be to setup an encrypted tunnel between your clients and your FTP server, most commonly using SSH to do "SFTP". This of course will require your clients will need special software to do it.

http://winscp.net/eng/index.php

SFTP server on windows machines:

http://sshwindows.sourceforge.net/
http://freesshd.com/
http://freeftpd.com/

Included a few because I don't know which is the best one, honestly. Personally, I'd made a linux box for this instead with crap hardware around enough to build a low end machine with enough storage for whatever it is you want on the SFTP server. Your call though.

Obviously, SFTP is more difficult to do, but the advantages you gain are increased security since FTP user name and password are sent in plain text, and the file transmissions are encrypted as well.

Help survivors of Hurricane Katrina. Please donate to the American Red Cross.

www.redcross.org


0

Response Number 4
Name: jimdish
Date: October 2, 2005 at 10:17:55 Pacific
Reply:

OK I contacted my isp and they do not put any restrictions on any ports exept port 25.


I ran a port scan and it shows the ftp ports 20&21 as not responding to any pings.

The scan did not say they were closed just "stealth" or not responding in any way to pings.


0

Response Number 5
Name: jimdish
Date: October 2, 2005 at 11:08:15 Pacific
Reply:

For some reason my router is not responding to requests on port 21. I have double and triple checke the port forwarding settings and everything is correct. I even tried dmz and that didn't work. It is just not responding to requests on those ports. How do I just completely open that port?


0

Related Posts

See More



Response Number 6
Name: heropsycho2177
Date: October 2, 2005 at 13:58:53 Pacific
Reply:

Two things to check.

1. Are you sure your software firewall is properly configured if running one?

2. Did you forward both 20 and 21?

Help survivors of Hurricane Katrina. Please donate to the American Red Cross.

www.redcross.org


0

Response Number 7
Name: jimdish
Date: October 2, 2005 at 14:07:25 Pacific
Reply:

i have disabled my software firewall and windows firewall.

I have forwarded both ports 21 and 20 to the ip of my local machine i.e. 192.168.xxx.xxx



0

Response Number 8
Name: heropsycho2177
Date: October 2, 2005 at 14:27:02 Pacific
Reply:

What traffic - TCP, UDP, or both?

Help survivors of Hurricane Katrina. Please donate to the American Red Cross.

www.redcross.org


0

Response Number 9
Name: jimdish
Date: October 2, 2005 at 14:32:31 Pacific
Reply:

It is set for BOTH


0

Response Number 10
Name: SmittyZ3M
Date: October 2, 2005 at 15:43:38 Pacific
Reply:

I don't think version 4 is a valid version of firmware for that particular model of Linksys. Do you mean hardware version 4? I have the same router running Firmware Version: 1.52.02.

The reason I say this is because a certain version of the Linksys firmware was extremely buggy with port forwarding and the DMZ. I read through most of this thread and did not see anywhere that you might have attempted to upgrade or downgrade the firmware.

I may have missed this earlier, but have you tried taking the router out of the picture and going directly from your WAN device to your FTP server machine, then trying to access your server from a remote node on the internet? If you can access the FTP server from another internal host on your LAN, then obviously the server is configured properly, but taking the router out of the picture would help.

Sorry if you have already tried that.


0

Response Number 11
Name: jimdish
Date: October 2, 2005 at 16:02:09 Pacific
Reply:

Yes it is hardware ver.4

I just upgraded to the latest firmware version today. I will try to take the router out of the picture and reply soon.


0

Response Number 12
Name: jimdish
Date: October 2, 2005 at 17:17:26 Pacific
Reply:

Ok I took the router out of the picture and I get this message:

"no connection could be made because the target machine actively refused it"


0

Response Number 13
Name: heropsycho2177
Date: October 2, 2005 at 17:58:50 Pacific
Reply:

obviously the client machine. Authentication is failing, the app isn't running right, or you have a software firewall blocking it.

Help survivors of Hurricane Katrina. Please donate to the American Red Cross.

www.redcross.org


0

Response Number 14
Name: jimdish
Date: October 2, 2005 at 19:30:57 Pacific
Reply:

ok my dsl modem had an outdated firmware version that did not let me port forward.

I updated the firmware and went into the port forward section.

It asks me to select a protocol, then a port range, then enter an ip where the selected protocol will be routed to.

Do I forward it to my router and then from the router to my host or forward it directly to the host's internal ip?

I tried both of those ip addresses and it says "NAPT server ip address is not a valid host Lan address"

What to do now?


0

Response Number 15
Name: SmittyZ3M
Date: October 2, 2005 at 19:54:27 Pacific
Reply:

I didn't see where you mentioned that your DSL modem was setup as a router also. Sounds like you are doing double NAT. Your DSL modem is most likely configured to use either PPPoE or PPPoA as a WAN protocol to your ISP, and it is most likely also configured as a DHCP server. If this is the case, then your WAN port on your Linksys router is setup to get an IP via DHCP, which it is realizing from the DHCP server in the DSL modem.

You can either take away the Linksys and leave the DSL modem as is, and setup port forwarding on the DSL modem, or you can probably configure the DSL modem to act in "bridge" mode. If you do that, then you will have to configure your Linksys WAN port to use the WAN protocol of your ISP, basically what your DSL modem is doing now.

You can't leave your setup as-is because you would have to port forward from the DSL modem to the Linksys WAN port, which isnt possible, then forward from WAN to LAN.



0

Response Number 16
Name: jimdish
Date: October 3, 2005 at 12:48:11 Pacific
Reply:

I got it working. I did not know my modem also acted as a router. It only has one ethernet port. Here is what I did to fix this:

I was using the wrong ip address to forward from the modem to my router i.e. 192.168.1.1
That is why it came up invalid. The actual router ip that the modem sees is 192.168.254.1

I forwarded from my dsl modem to 192.168.254.1 (router) then to my internal machines ip address.

It is all working fine now. Thanks for all of the input it really helped me figure this out.

Jim


0

Response Number 17
Name: SmittyZ3M
Date: October 3, 2005 at 17:44:00 Pacific
Reply:

Glad you got it working. Just for my education, is your DSL modem connected to a LAN port or the WAN port of your Linksys router? I would assume the WAN port since I don't think port forwarding looks to a LAN port. I have a friend/client who used to have a similar setup.


0

Response Number 18
Name: jimdish
Date: October 3, 2005 at 23:05:42 Pacific
Reply:

I guess it is connected to a WAN port. There are only 4 ports on the back of the router.



0

Response Number 19
Name: SmittyZ3M
Date: October 4, 2005 at 09:46:55 Pacific
Reply:

Well, if its a BEFW11S4 then I presume there is one WAN/Internet port, and four switch ports, totaling 5. The WAN/Internet port is typically seperated from the regular switch ports, can you confirm?


0

Sponsored Link
Ads by Google
Reply to Message Icon

Strange network problem Network hangs after some ...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Networking Forum Home


Sponsored links

Ads by Google


Results for: FTP Server behind router prob...

SOCKS 5 Proxy Server behind Router www.computing.net/answers/networking/socks-5-proxy-server-behind-router/11781.html

FTP Server Behind A Dynamic IP! www.computing.net/answers/networking/ftp-server-behind-a-dynamic-ip/15777.html

ftp server behind nat www.computing.net/answers/networking/ftp-server-behind-nat/15458.html