vigneshv10
asked on
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
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
Do you have an external IP on this machine?
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
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
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
on linux box it will be DNAT&SNAT
on cisco router ip nat outside and ip nat inside
WBR
ASKER
i have a sonic firewall and this machine is connected to that firewall.. and i do have an external ip
ASKER
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..
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
+ Destination NAT to the internal system +
Add filter rules to allow specific traffic to the system.