Solved

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

Posted on 2006-07-19
7
283 Views
Last Modified: 2010-03-18
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
Comment
Question by:vigneshv10
7 Comments
 
LVL 1

Expert Comment

by:antoxa
ID: 17137396
Do you have an external IP on this machine?
0
 
LVL 19

Expert Comment

by:alextoft
ID: 17137412
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
 
LVL 1

Expert Comment

by:antoxa
ID: 17137440
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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:vigneshv10
ID: 17137452
i have a sonic firewall and this machine is connected to that firewall.. and i do have an external ip
0
 

Author Comment

by:vigneshv10
ID: 17137463
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
 
LVL 1

Accepted Solution

by:
antoxa earned 50 total points
ID: 17137479
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
 
LVL 40

Expert Comment

by:noci
ID: 17137970
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

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Error when calling SSH command 20 110
OpenWrt 1 43
Linux : how to point the OS to use the new DNS server 11 102
Can't get /etc/resolv.conf to configure after reboot 8 96
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question