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

x
  • 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.

Jerome
0
JeromeCaQcMtl
Asked:
JeromeCaQcMtl
1 Solution
 
antonsigurCommented:
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 192.168.1.10

let's say your external ip is 100.1.1.1

Now you neet to add a rule on your router, you need to port forward from 100.1.1.1:21 to 192.168.1.10:21

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

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
0
 
JeromeCaQcMtlAuthor Commented:
Tanks a lot antonsigur
0

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