• February 27, 2025, 03:13:29 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Help with FTP setup on NAT setup Network  (Read 7889 times)

welldress

  • Level 1 Member
  • *
  • Posts: 3
Help with FTP setup on NAT setup Network
« on: February 06, 2010, 12:33:31 PM »

Hello can you Guy's tell me if is possible to configure the ftp server behind my network.
Here's my configuration...using voice over IP ADSL+Bridge/Router and a Linksys Adapter with router
And my WRT310N Linksys wireless network router.  Here are the Linksys adapter settings
System Status   Current Time: 2/6/2010 13:53:11 Elapsed Time: 20:26:04   Wan Connection Type: PPPOE Current IP: 216.246.254.58   Host Name: SipuraSPA Domain:   Current Netmask: 255.255.255.255 Current Gateway: 206.80.253.216   Primary DNS: 206.80.254.4    Secondary DNS: 206.80.254.68   LAN IP Address: 192.168.0.1 Broadcast Pkts Sent: 0   Broadcast Bytes Sent: 0 Broadcast Pkts Recv: 18   Broadcast Bytes Recv: 1080 Broadcast Pkts Dropped: 0   Broadcast Bytes Dropped: 0
Now the Public IP keep changing every hour or so. Also this router has all the ports block, the only port I can open is port 80, I have configure the FTP and it works internally. But not outside.  Also   I have give the DNS-323 a static IP and I`m using  The  www.DynDNS.org services. I have port forward  port 21 on my wireless router. But when I used shields up to check  my ports...it will check the IP address of the Linksys adapter router and no ports are open. Do I need to ask My ISP provider to open port 21 for it to work. Please advice... also I have a diagram of my network if you want me to send it. Thanks for helping
Logged

fordem

  • Level 10 Member
  • *****
  • Posts: 2168
Re: Help with FTP setup on NAT setup Network
« Reply #1 on: February 06, 2010, 12:37:52 PM »

You seem to have multiple routers - possibly as many as three - this is likely to make what you are trying to do very challenging at the least, and perhaps impossible - I would suggest that you get rid of any of the routers that are not absolutely necessary.

Yes - a diagram of the network would be very helpful.
Logged
RAID1 is for disk redundancy - NOT data backup - don't confuse the two.

welldress

  • Level 1 Member
  • *
  • Posts: 3
Re: Help with FTP setup on NAT setup Network
« Reply #2 on: February 06, 2010, 04:50:08 PM »

yes I try to post the picture here but i'm not able to, the ISP provider has provided the dsl modem/router and also the linksys adaptor/router...required for the services...and if iwant to share my internet connection...i need to add the wireless router....how do i post the picture???
Logged

Buhric

  • Level 3 Member
  • ***
  • Posts: 191
Re: Help with FTP setup on NAT setup Network
« Reply #3 on: February 06, 2010, 07:07:36 PM »

It depends on the router you ISP has provided you....

For your FTP, or any other server, to work from "outside" you home network
You will need to configure the 1st router, the one that actualy "bridges" the internet with your Home Network.
In your case its most probably the dsl modem/router that your ISP provided you with.
You need to forward your FTP port in that router to your DNS-323 IP.
Can be any port you wish... just make sure your FTP Server is also set to the same port
And if you want to use PASV mode on the FTP... dont forget to also forward those ports to the DNS-323

« Last Edit: February 06, 2010, 07:09:44 PM by Buhric »
Logged

fordem

  • Level 10 Member
  • *****
  • Posts: 2168
Re: Help with FTP setup on NAT setup Network
« Reply #4 on: February 07, 2010, 07:38:51 AM »

It depends on the router you ISP has provided you....

For your FTP, or any other server, to work from "outside" you home network
You will need to configure the 1st router, the one that actualy "bridges" the internet with your Home Network.
In your case its most probably the dsl modem/router that your ISP provided you with.
You need to forward your FTP port in that router to your DNS-323 IP.
Can be any port you wish... just make sure your FTP Server is also set to the same port
And if you want to use PASV mode on the FTP... dont forget to also forward those ports to the DNS-323



Unfortunately, with three routers, it's not quite that simple.

Assuming a daisy chain - which may or may not be how they are connected - on the first router he'd have to forward the requisite ports to the second router; and then on the second router, he had to forward the same ports to the third router; and then on the third router he have to foward the ports to the ftp server.

Another way would be to put the third router in the second router's DMZ, and the second router in the first router's DMZ (assuming that the routers DO in fact support the concept of DMZ) and in this case, you'd only have to forward ports on the third router.

Like I said earlier, it can be very challenging - and the easiest way is to eliminate ALL unnecessary routers.
Logged
RAID1 is for disk redundancy - NOT data backup - don't confuse the two.

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: Help with FTP setup on NAT setup Network
« Reply #5 on: February 07, 2010, 11:45:32 AM »

Here's a configuration for the secondary routers to eliminate the NAT layer and turn them into a WAP.  This removes the extra NAT layers and solves the issue.



Note: The "primary" router can be an actual router, a software gateway like Microsoft Internet Connection Sharing, or a server connection that has the capability to supply more than one IP address using DHCP server capability.  No changes are made to the primary "router" configuration.

Configure the IP address of the secondary router(s) to be in the same subnet as the primary router, but out of the range of the DHCP server in the primary router.  For instance DHCP server addresses 192.168.0.2 through 192.168.0.100, I'd assign the secondary router 192.168.0.254 as it's IP address, 192.168.0.253 for another router, etc.

Note:  Do this first, as you will have to reboot the computer to connect to the router again for the remaining changes.

Disable the DHCP server in the secondary router.

Setup the wireless section just the way you would if it was the primary router, channels, encryption, etc.

Connect from the primary router's LAN port to one of the LAN ports on the secondary router.  If there is no uplink port and neither of the routers have auto-sensing ports, use a cross-over cable.  Leave the WAN port unconnected!

This procedure bypasses the routing function (NAT layer) and configures the router as a switch (or wireless access point for wireless routers).

For reference, here's a link to a Typical example config using a Netgear router
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.

fordem

  • Level 10 Member
  • *****
  • Posts: 2168
Re: Help with FTP setup on NAT setup Network
« Reply #6 on: February 07, 2010, 05:03:08 PM »

Here's a configuration for the secondary routers to eliminate the NAT layer and turn them into a WAP.  This removes the extra NAT layers and solves the issue.

This assumes that there is a "primary" router doing NAT - I'm not certain if that is the case here, as there would be no need for third router mentioned ...

yes I try to post the picture here but i'm not able to, the ISP provider has provided the dsl modem/router and also the linksys adaptor/router...required for the services...and if iwant to share my internet connection...i need to add the wireless router....how do i post the picture???
Logged
RAID1 is for disk redundancy - NOT data backup - don't confuse the two.

Buhric

  • Level 3 Member
  • ***
  • Posts: 191
Re: Help with FTP setup on NAT setup Network
« Reply #7 on: February 07, 2010, 08:50:08 PM »

Assuming a daisy chain - which may or may not be how they are connected - on the first router he'd have to forward the requisite ports to the second router; and then on the second router, he had to forward the same ports to the third router; and then on the third router he have to foward the ports to the ftp server.

Yes you are right.... in this case he would have 3 "separate" networks each behind a NAT....

My network is setup the way gunrunnerjohn mentions... and I also have 3 routers...
2 of them are working has simple switches and access points...

But since welldress did not mention how they are connected...
we cant give a definitive answer....
Logged

welldress

  • Level 1 Member
  • *
  • Posts: 3
Re: Help with FTP setup on NAT setup Network
« Reply #8 on: February 07, 2010, 09:46:22 PM »

Hi guy's is there a way to post a picture here???...i have actually made a diagram about the connections and the statues of all the 3 routers. Also because my ISP also provides the VOIP service, i have to used the two routers they provide me...after researching the main DSL/router I was able to log into the unit and try to open the ports on the main router but when i used shields up? nothing all ports are close. also when I Log   into second router and open ports i have the same issue. But for some reason I can open port 80 on that router... I have confirm the port being open with shields up. do you guys think that the ISP provider is actually blocking those ports on there own side of business?
Logged

Buhric

  • Level 3 Member
  • ***
  • Posts: 191
Re: Help with FTP setup on NAT setup Network
« Reply #9 on: February 08, 2010, 04:44:21 AM »

Hi guy's is there a way to post a picture here

Some one correct me if I'm wrong, but the best way to include a picture would be for you to open up an account at www.imageshak.us and upload you file there. Then use the direct link they provide for it in this forum.

And when using ShieldsUp theres 3 possible values.... Stealth, closed or Open.
Stealth mean that theres no response from your end... ie.: same has if IP did not exist
Close means that port exists, but theres no running server to answer back...
And I'll let you guess at what Open means...
Logged