Solved

Connect to a computer behind a router (NAT)

Posted on 2004-05-03
7
1,413 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
  • 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
RIP Routing 5 63
Eigrp Router 5 74
Failover VDSL Modems 3 67
What determines if a route map takes precedence over a static route? Cisco 2 30
While it is possible to put two routes in place with the secondary having a higher metric, this may not always work. In the event of a failure that does not bring down the physical interface on the router the primary route is not removed. There is a…
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
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…

776 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