Solved

Remotely access FTP using DNS323 in Dynamic IP

Posted on 2009-04-03
21
3,538 Views
Last Modified: 2013-12-02


Hi,
I have a FTP server using DNS323.
I have a broadband internet connection (dynamic ip) for my FTP server
I would like to connect my FTP server remotely using dynamic IP
How can i do that?
THanks

0
Comment
Question by:tankergoblin
  • 11
  • 10
21 Comments
 
LVL 4

Expert Comment

by:Multipath
Comment Utility
First update your ip with your dyn dns provider then forward port 21 on your router or firewall to the DNS323.  This should open ftp to the device from outside and get you up in running.  I would suggest to use a non standard port on the outside (i.e. port 65432) and porward it to port 21 on your DNS323.  This will save you the headache of hte 5000 failed login messages and hide it from your ISP.
0
 
LVL 7

Author Comment

by:tankergoblin
Comment Utility
Hi thanks for you adviced.
i had do all the things mention above.
I type ftp://domainname.com
after that it pops up window to enter username and password.
i enter my username and password.
but it doesnt connect me to my FTP server. why
i try local it works.
do i need to specify my ip of FTP server like
http://domainame/1.1.1.1??
0
 
LVL 7

Author Comment

by:tankergoblin
Comment Utility
i already set password for my FTP but why i cannot log in
0
 
LVL 4

Expert Comment

by:Multipath
Comment Utility
You may need to forward port 20 as well I am not sure what version of the ftp service they use this is the data transmission port for ftp and I am not a hundred percent sure you can mask that port.  You may want to try using port 21 and 20 to the system in a 1 to 1 NAT then try logging in.  So to clarify since i tend to ramble out forward port 21 from internet to the ftp device, then forward port 20 from the internet to the ftp device and try again.  If you need someone to try this remotely for you let me know I ould be more than happy too.
0
 
LVL 4

Expert Comment

by:Multipath
Comment Utility
If this doesnt work we may need to put a SNAT rule in as the ftp device may have a restriction on what ip ranges can log into it.  Just an after thought
0
 
LVL 7

Author Comment

by:tankergoblin
Comment Utility
I notice that my router has built in FTP server and i believe it use one of the port. SO i think i cannot use the default port. I had try to connect to router FTP server and it works. But when i try to connect to NAS 323 FTP server it fails. why.
I had turn of my firewall.
 
0
 
LVL 4

Expert Comment

by:Multipath
Comment Utility
You would forward the outside port x to inside port 21 on the ftp server.  Turn your firewall back on lol...
0
 
LVL 7

Author Comment

by:tankergoblin
Comment Utility
what do you mean
outside port??
you mean start port??
0
 
LVL 4

Expert Comment

by:Multipath
Comment Utility
No the port on the outside interface of your firewall can be 65432 for example and you can ma that to port 21 on the inside with a destination of your ftp server.  If you can put a screen shot of the port forward page of your router I can tell you what to put in each section.
0
 
LVL 7

Author Comment

by:tankergoblin
Comment Utility
screen shot as below:
DSL305EU3.jpg
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 4

Expert Comment

by:Multipath
Comment Utility
id 1
box 2 public port 21
box 3 private port 21
host ip address your internal server

box 2 can be any port you want, just leave the rest alone.
0
 
LVL 4

Expert Comment

by:Multipath
Comment Utility
if you put a different port in box two that will be the port you connect to from the outside.
0
 
LVL 7

Author Comment

by:tankergoblin
Comment Utility
say now i change my ftp server port to 1024
so my port forwarding should be

public port 1024
private port 21?

is that what you mean
0
 
LVL 7

Author Comment

by:tankergoblin
Comment Utility
i have try your suggestion it says value in public port cannot be larger that private port

0
 
LVL 4

Expert Comment

by:Multipath
Comment Utility
Really ?  Try 21 then and see what happens
0
 
LVL 7

Author Comment

by:tankergoblin
Comment Utility
"public port 1024
private port 21?"

what do you mean by try 21?
anyway i have try to put public 21 and private  1024
but still the same


0
 
LVL 4

Expert Comment

by:Multipath
Comment Utility
no try public 21 and private 21

to test you will conect via
ftp://"outsideIP"

If that works to mask the server you can put in 65432 outside port and 21 on inside port then connect via
ftp://"outsideIP":65432
0
 
LVL 7

Author Comment

by:tankergoblin
Comment Utility
which one is outsideport or which one is inside port

0
 
LVL 4

Expert Comment

by:Multipath
Comment Utility
65432 is outside 21 is inside

in that description
0
 
LVL 7

Author Comment

by:tankergoblin
Comment Utility
beside 65432 can i use 1024

0
 
LVL 4

Accepted Solution

by:
Multipath earned 500 total points
Comment Utility
I would not use 1024 it is a known common port that is scanned if you are not allowed to have a server you should use a HIGH port
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Hyper-convergence systems have taken the IT world by storm and have quickly started to change our point of view of how the data center should and could be architected. In this article, I’ll explain the benefits of employing a hyper-converged system …
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now