Solved

Connect to a computer behind a router (NAT)

Posted on 2004-05-03
7
1,408 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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In this tutorial I will show you with short command examples how to obtain a packet footprint of all traffic flowing thru your Juniper device running ScreenOS. I do not know the exact firmware requirement, but I think the fprofile command is availab…
Hello , This is a short article on how would you go about enabling traceoptions on a Juniper router . Traceoptions are similar to Cisco debug commands but these traceoptions are implemented in Juniper networks router . The following demonstr…
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…

760 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

18 Experts available now in Live!

Get 1:1 Help Now