Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 237
  • Last Modified:

How to access workstation behind a router with external IP

Hi network experts,

I just need to know how can I communicate via a client-server application with a machine(server side of the application) that is behind a router. I have the external IP of the machine but it only work when we set the machine as the default DMZ server.

My network knowledge is very limited and I'm having an hard time to figure out how can I achieve this. Can it be done via a tunnel or with the route command under DOS? Wath is the most common solution expert use to resolve this kind of problem? I just need a little track to get a good idea.

Any comment will be very appreciated, thanks in advance.

1 Solution
Assuming the router is in NAT mode.

You will need to know the servers port. (let's say you are running a ftp server on port 21)

now you neet the servers ip. let's say it is

let's say your external ip is

Now you neet to add a rule on your router, you need to port forward from to

That is, if someone tries to access on port 21, his ip packages are directed to port 21 on

You'll find this options somwhere on your router box, probably undir NAT-services, port forwarding or simmilare.

Probably you must select range if ip's , so you select from port 21 to port 21. You must select protocol to, UDP or TCP or?

hope this helps
JeromeCaQcMtlAuthor Commented:
Tanks a lot antonsigur

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now