[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: How to find the internal IP address of a machine for an external user

From: Adriano Nassi <adriano_at_historicalengineering.com>
Date: 2007-10-10 14:14:45 CEST

Thank you so much for your help.

Regards,

Adriano

On 10 Oct 2007, at 12:35, Tony Harverson wrote:

> From: Adriano Nassi [mailto:adriano@historicalengineering.com]
> Sent: Wednesday, October 10, 2007 12:12 PM
> To: dev@subversion.tigris.org
> Subject: How to find the internal IP address of a machine for an
> external user
>
> Dear All,
>
> 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.
>
> svn://<nameOfMachine>.local/svn
>
> Inside the same machine we have Apache server and I can reach the
> same folder with this path:
>
> http://<nameOfMachine>.local:<port>/svn
>
> Our environment has a router with a static IP address (e.g.
> 82.16.94.154 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 82.16.94.154 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 82.16.94.154 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.
>
> Good Luck.
>
> Tony
Received on Wed Oct 10 14:15:01 2007

This is an archived mail posted to the Subversion Dev mailing list.