Connect to a computer behind a router (NAT)

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.
techfreelanceAsked:
Who is Participating?
 
IceRavenConnect With a Mentor Commented:
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
 
techfreelanceAuthor Commented:
Oops,

Forgot to say:

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

Thanks,
;)
0
 
IceRavenCommented:
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
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

 
techfreelanceAuthor Commented:
Could I add a static address to the router like:

192.168.0.10:21 --> 201.154.57.37:9000 ???
0
 
IceRavenCommented:
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
 
techfreelanceAuthor Commented:
Thanks!
0
 
IceRavenCommented:
Glad to help!

Cheers,
IceRaven.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.