Solved

Connect to a computer behind a router (NAT)

Posted on 2004-05-03
7
1,424 Views
Last Modified: 2010-04-17
Hi experts,

Would it be possible to connect to a computer behind a router running NAT from the internet?

As an example lets say I've got this computer at work (behind the router with NAT), with loads of software and I want to allow incoming FTP connections to be able to download them from home.
Then I get no-ip or dynamic-dns set up in the work computer and I go home and try to connect to it.

Would it work?

If it wouldn't, is there any way of achieving this?

Thanks in advanced,
Fred.
0
Comment
Question by:techfreelance
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 7

Accepted Solution

by:
IceRaven earned 500 total points
ID: 10975988
Hi techfreelance,

Yes it would work, forward port 21 and say a range of 10 ip addresses eg 9000 - 9010 to the target computer inside your network from the router.  Have done it may times, I like the blackmoonftpserver.  Set it up so that it uses only ports 9000-9010 for connecttions and you are set.

Cheers,
IceRaven
0
 

Author Comment

by:techfreelance
ID: 10975997
Oops,

Forgot to say:

In the example, the ip at work is 1 x Dynamic.

Thanks,
;)
0
 
LVL 7

Expert Comment

by:IceRaven
ID: 10976009
Do you mean that your machine at work as a dynamically asssigned ip address, or that the router at work has dynamically assigned ip address.

If 1.  use the computers name, or mac address, or get the router to assign it a static address.
If 2.  use something like dyndns.

Cheers,
IceRaven.
0
Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

 

Author Comment

by:techfreelance
ID: 10976119
Could I add a static address to the router like:

192.168.0.10:21 --> 201.154.57.37:9000 ???
0
 
LVL 7

Expert Comment

by:IceRaven
ID: 10976150
No that would add all addresses 21 to 9000 so something like

192.168.0.10:21
192.168.0.10:9000
192.168.0.10:9001
192.168.0.10:9002
192.168.0.10:9003
192.168.0.10:9004
....
192.168.0.10:9009

Cheers,
IceRaven.
0
 

Author Comment

by:techfreelance
ID: 10976160
Thanks!
0
 
LVL 7

Expert Comment

by:IceRaven
ID: 10976173
Glad to help!

Cheers,
IceRaven.
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

New Server 172.16.200.2  was moved from behind Router R2 f0/1 to behind router R1 int f/01 and has now address 172.16.100.2. But we want users still to be able to connected to it by old IP. How to do it ? We can used destination NAT (DNAT).  In DNAT…
How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
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…
Suggested Courses

705 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