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

Using a external IP to access a machine in an internal network

I have server interally say which is got an IP 192.168.1.2, i need to access this machine from outside using the internet. I have an external Ip too.

how do i use this external ip to access the 192.168.1.2 machine.

it would be really good if someone could give a step by step details coz im new to this.

thanks in advance
0
vigneshv10
Asked:
vigneshv10
1 Solution
 
antoxaCommented:
Do you have an external IP on this machine?
0
 
alextoftCommented:
It sounds like you simply need to enable port forwarding on whatever router you have connecting you to the internet.

For example if you wanted to SSH into the machine from outside, you would go to the port forwarding page on your router config and forward port 22 to 192.168.1.2

0
 
antoxaCommented:
it will be better to configure NAT
on linux box it will be DNAT&SNAT
on cisco router ip nat outside and ip nat inside

WBR
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
vigneshv10Author Commented:
i have a sonic firewall and this machine is connected to that firewall.. and i do have an external ip
0
 
vigneshv10Author Commented:
the scenario is that i have 2 external ips. one external ip is assigned to my sonic firewall and i want to use the other ip to a machine on the internal network..
0
 
antoxaCommented:
I don't know anything about sonic firewalls
For accessing from outside to inside you should configure NAT on this firewall
or configure external IP address on second ethernet interface on this machine and connect it to external network
0
 
nociSoftware EngineerCommented:
Probably you need to setup an alias on the outside interface of you sonicwall,
+ Destination NAT to the internal system +
Add filter rules to allow specific traffic to the system.
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.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

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