Problems getting FTP server set up

blackangst1

Lifer
Feb 23, 2005
22,902
2,360
126
Im trying to get an FTP server set up on my HTPC. My network is set up like this:

Internet-->Qwest DSL router-->Linksys 4500-->Linksys 4200

The connection between the 4500 and the 4200 is via wireless 5ghz.

The server is setup via Filezilla server on port 800 with a server addy of 127.0.0.1. Ive got an accout set up.

In my Qwest router Ive got port forwarding setup for TCP port 800 going to LAN address of 192.168.1.1 (the 4500 Linksys) with internal ports set to 35000. In my 4500 Ive got forwarding setup for FTP external port 800 to forward to host 192.168.1.101 (the internal ip of my HTPC box where the FTP server resides).

Ive got firewall rules setup on the HTPC to allow the traffic.

When I use filezilla client to try and connect, Im not even seeing a login attempt on the server, so traffic isnt making it there. Any ideas where it may be dropping? I first tried to forward traffic on port 800 on the Qwest router to 192.168.1.101 (HTPC box) but realized that wont work so changed it to the above configuration. On filezilla client Im connecting to my public IP, with account login creds, port 800.

Let me know if you need more info.
 

CubanlB

Senior member
Oct 24, 2003
562
0
76
First, the FTP server should be bound to the IP of the box it is on which is I think 192.168.1.101, not the loop back address. The loopback on a PC is mostly used for testing purposes.

Why are you double NATing?

Can you get your setup to just have one router? Either the quest box or the linksys?

Either make the DSL router just a modem and supply your PPPoE (I'm guessing) credentials on the linksys or make your linksys just a switch/AP and turn of routing.

Your initial idea, to forward the port directly to the server box is the correct way about this.
 

blackangst1

Lifer
Feb 23, 2005
22,902
2,360
126
First, the FTP server should be bound to the IP of the box it is on which is I think 192.168.1.101, not the loop back address. The loopback on a PC is mostly used for testing purposes.

Why are you double NATing?

Can you get your setup to just have one router? Either the quest box or the linksys?

Either make the DSL router just a modem and supply your PPPoE (I'm guessing) credentials on the linksys or make your linksys just a switch/AP and turn of routing.

Your initial idea, to forward the port directly to the server box is the correct way about this.

Im not really double NATting. The second router (the 4200) is set up as a repeater/AP. Its connected via wireless to give my devices downstairs (HTPC, receiver, and phones) connectivity. All of my DNS and DHCP are handled by the main router (the 4500).

My server is bound to the local IP of the HTPC , and have changed the internal ports to 5000-5100 and still getting dropped somewhere. :

FTPserver.png
 
Last edited:

CubanlB

Senior member
Oct 24, 2003
562
0
76
Then you shouldn't need to forward anything in the Qwest box if it's just a modem. If you are forwarding stuff at the quest box, it is routing, and you are doing NAT there and at the 4500.

I recently just setup Centurylink at home and this is my setup.


Phone ---- Actiontec C1000A (Functioning just as a DSL bridge) ---Ethernet --- PFSense router ------ Other switches/APs off of that.

To get the modem in bridged mode you have to set the wan settings on that and then supply your Quest credentials at the device actually doing the routing. It would be my general suggestion to get it setup like that.
 
Last edited:

blackangst1

Lifer
Feb 23, 2005
22,902
2,360
126
OK got that. Now Im not sure if my Qwest modem is set up in bridged mode...Im suspecting not as my main router doesnt have my login creds. Heres what my Qwest internet page looks like:

edit: might help if I include the pic lol

Capture3.png




Should I change the PPoE to transparent bridging?
 
Last edited:

CubanlB

Senior member
Oct 24, 2003
562
0
76
you will need your credentials setup in the other router before you switch to bridging.

Get on chat with qwest or CL and they will ask for account info and give you your username and password. On the 4500 you need to change the WAN port to the correct PPP protocol and input this info.

Then yeah, give it a shot.

Then setup your forwarding and firewalls just on the 4500.
 

blackangst1

Lifer
Feb 23, 2005
22,902
2,360
126
OK Ive got my PPoE creds. So I'll get those put into my 4500, then change the Qwest modem from ISP protocol PPoE to Transparent Bridging, correct?

edit: that worked. Now lets see if I can this FTP server working :)
 
Last edited:

CubanlB

Senior member
Oct 24, 2003
562
0
76
Yup, that should work. You should be able to find instructions online for your specific model modem, but what you said was pretty much the sum of what I had to do to configure it.

You should just be able to factory reset it if anything goes amiss. Once it is in bridging mode you may not be able to access it via IP.

So what you should see now are your WAN settings on the 4500 should have a 192.168.x.x address or some other private address handed out by the Quest box acting as DHCP and router. When it is just a modem you will get the WAN address assigned to the WAN port of the 4500. Then you should be ready to rock and roll.
 

blackangst1

Lifer
Feb 23, 2005
22,902
2,360
126
Yup, that should work. You should be able to find instructions online for your specific model modem, but what you said was pretty much the sum of what I had to do to configure it.

You should just be able to factory reset it if anything goes amiss. Once it is in bridging mode you may not be able to access it via IP.

So what you should see now are your WAN settings on the 4500 should have a 192.168.x.x address or some other private address handed out by the Quest box acting as DHCP and router. When it is just a modem you will get the WAN address assigned to the WAN port of the 4500. Then you should be ready to rock and roll.

YUP! That worked. Ive got the public IP now on the WAN side of my 4500.

I think Ive got the FTP server set up sorrectly now with all the port forwarding. Having a friend test it.

Thanks for your help CubanlB!