From: Adriano Nassi [mailto:firstname.lastname@example.org]
Sent: Wednesday, October 10, 2007 12:12 PM
Subject: How to find the internal IP address of a machine for an external user
I am using SVN serve release 1.2.3 on Mac OsX machine.
The folder where I am putting the projects is as follow:
If I use the svn protocol.
Inside the same machine we have Apache server and I can reach the same folder with this path:
Our environment has a router with a static IP address (e.g. 188.8.131.52 as external IP) and inside our LAN the machine's IP is for instance 10.0.0.5.
The question is:
How can I reach the folder outside my office?
I tried to use the http protocol but I dunno witch IP address I have to use because the 184.108.40.206 for instance is he IP of the router and
I dunno in which way I can find the IP address of my local machine where within there is the svn serve.
Hey there Adriano,
This is more of a networking question than an SVN question, but I'll give it a stab anyway. The problem is that your router is doing Network Address Translation, and as such, your workstation very probably doesn't have an address that's usable from outside of your office. You'll need to investigate your router's configuration and look for a setting which allows you to pass connections on a certain port to a specific machine.
For example, you could configure port 81 of your router to pass any connections to it back to 10.0.0.5 port 80, which will then allow you to access your repository using 220.127.116.11 port 81 from outside your office.
This is very manufacturer specific, so you'll have to figure out exactly how to do this on your own, or consult a friendly support person who knows your router brand.
Don't forget to make sure you have security on your subversion repository if you go this route, as anyone on the internet will be able to see it.
Received on Wed Oct 10 13:35:21 2007