Trying to set up an FTP Server

Pulsar

Diamond Member
Mar 3, 2003
5,224
306
126
Ok - my network looks like this:

Modem => Voip Adapter => Buffalo Router => Server

So I set up Filezilla server, set it as trusted in zone alarm. I can connect to it using 127.0.0.1 and log in with no issue.

Voip Adapter Outside IP: 24.221.72.XXX
Voip Adapter Inside IP: 192.168.251.1
Buffalo Router Outside IP: 192.168.251.198
Buffalo Router Inside IP: 192.168.11.1
Computer IP: 192.168.11.2

So I connect to the voip adapter, and forwarded port 20 and 21 tcp traffic to 192.168.251.198 ports 20 and 21
Then I connected to the router, and forwarded ports 20 and 21 to 192.168.11.2 to 20 and 21

When I try to connect to this using filezilla client, and I ftp to 24.221.72.XXX port 20 or 21, it can't do it. Did I set something up incorrectly?
 

BZeto

Platinum Member
Apr 28, 2002
2,428
0
76
I'd start by removing either the voip device or the router from the picture. That would be easier to find out which (if any) is causing the problem.
 

nweaver

Diamond Member
Jan 21, 2001
6,813
1
0
Bzeto has a good suggestion, remove complications while troubleshooting.

Also, are you trying to connect to ftp via your WAN IP from inside your network, or are you testing from an external source?
 

Pulsar

Diamond Member
Mar 3, 2003
5,224
306
126
Originally, I was trying to connect from inside the network. However, I remember that you guys once said you can't do that - there's some murky networking related reason you can't do it.

I tried it today at work, and while I can log into my voip router from the outside, my requests to the ftp server are simply timing out.

When I get home, I'll shutdown my software firewall, kill the windows firewall, and move the voip adapter behind the router. Then I'll only be going through the router and I'll know if I have at least that portion correct or not.

Then I'll turn the firewalls back on, and if it works, I'll leave it.

It worries me a bit that the voip adapters leave telnet and http ports open on them anyway, I'd rather have them behind the router.
 

nweaver

Diamond Member
Jan 21, 2001
6,813
1
0
try plugging into the VOIP adapter and hitting it using the Router's "WAN" IP to see if the router is set up correctly. If it is, then move the FTP server behind the VOIP adapter and see if it will work from the outside from there?
 

toadeater

Senior member
Jul 16, 2007
488
0
0
Should be modem -> router -> everything else.

Use QoS and port forwarding on the router (you can put the adapter in the router's DMZ too), not the VoIP adapter. Your overall performance should be better.

You've got a Buffalo router, right? Flash it with Tomato (or DD-WRT if you know what you're doing), they both work great with VoIP.

There is also the possibility that your ISP blocks those ports, but I doubt it. Worth checking if all else fails.
 

Pulsar

Diamond Member
Mar 3, 2003
5,224
306
126
The buffalo router is brand new - but I bought it to do exactly that. My old Linksys 8 port router would crap out whenever I torrented a linux distro and the QOS on it was a joke. I've already loaded dd-wrt on the buffalo (HP version for more range) and have it running, though I'm still trying to figure out how to set up a static IP address based on mac-address with dd-wrt.

Unfortunately, I had to do a hard-reset on the voip router which lost my setup info. I'm waiting on an email from my voip company to get the information so I can re-enter it.

 

BZeto

Platinum Member
Apr 28, 2002
2,428
0
76
Originally posted by: Pulsar
I've already loaded dd-wrt on the buffalo (HP version for more range) and have it running, though I'm still trying to figure out how to set up a static IP address based on mac-address with dd-wrt.

Administration > Services tab
Static Leases:

Make sure you SAVE the settings after entering your host info instead of pressing the 'Add' button.


 

Pulsar

Diamond Member
Mar 3, 2003
5,224
306
126
Thanks guys - I've got it now.

New setup

Modem => Router => Computer & Voip Device

The voip run light blinks red, but it still works fine. I even went so far as to put it in the DMZ and got the red blinky blinky - I've heard of other people with this problem and it didn't cause any issues.

I also got the FTP server up and running. A convenient way to test this is to register at a free ip domain place like no-ip.com, then you can ftp to your sight using your web browser to test it.

Sooo, I'm happy, it's working, now I just need to get the wireless workign upstairs - but that's a project for tomorrow.