We have a lan network in our office and had created a svn repository on one of the computer and we access that repository through the url svn://10.0.0.5 where 1.0.0.5 is the ip address of that computer. Now i want to access this repository through internet. So what will be my url as we get dynamic ip address through isp. And all computers are behind routers so how to access this
|
migrated from stackoverflow.com Jan 28 '11 at 13:51
|
poke the server through the firewall as others have suggested, then use a service such as dyndns to update a dns record with your dynamic ip address as it changes. Then you can always reference the machine from the dns entry. So, you set up svn.yourcompanyname.org with dyndns, you install their app on your svn server, so it updates dyndns with it's current external ip address, and then you always reference your svn repository by connecting to svn.yourcompanyname.org |
|||
|
|
|
Short answer is that you can't. Longer answer is, to reliably access your repository you'd first need a static IP address from your provider. After you have the static IP you'd then need to configure your router and firewall to forward traffic to that IP that is destined for the port you have set up SVN on to forward to your SVN server. |
|||
|
|
You need some form of stable name. DynDNS or one of the many others providing dynamic DNS would suffice. Still, Rup is of course right: You can't use 10.0.0.5 from outside your office network, since it is a non-routable address. Your firewall needs to get port forwarding and then you need to point clients at the firewall. Just note the obvious security problems with opening holes in your firewall, mke sure the svn server is in the DMZ (and if you don't currently have one, quite seriously, either drop the idea or get the network admin to create one – if they really consider port forwarding into your regular network office, get a new network admin). Now, if all you really want to achieve is to give your own developers access from home or from their laptops, then VPN is what you should do. |
|||
|
|