Reputation: 8246
Ok so I followed the instructions from here svn config and have set up a svn server on a debian squeeze host. Now this works so far from the same network. (eg. ip of the debian server: https://192.168.0.101/svn will work from computers in the same network). By same network here I mean we have one "real" Ip address from a provider and 5 workstations + server connected to the same router.
But we would need to permit access to the server to people from other networks (same provider or different provider). Now none of us are above beginners in networking so could you please tell us:
Is this even possible with the current configuration? (meaning the server does not have a "real" ip).
What would we need in order to achieve this? Should we ask the provider for a second ip and use it for the server ? Would that solve it ?
Upvotes: 1
Views: 2983
Reputation: 2299
The router that connects your internal network to other networks needs to forward https requests to your svn server. If the external IP of the router is 10.0.0.1 and set up to forward port https (443) to 192.168.0.101 then external users would refer to the svn server as https://10.0.0.1/svn.
If you simply want to make the svn server available to another internal networks look into routing tables.
Upvotes: 1
Reputation: 91119
Sound like a typical SoHo configuration you have here.
Now you have several ways to proceed:
Upvotes: 1
Reputation: 14940
you can configure your router to perform NAT [1] and forward requests to port 443 (HTTPS) to the same port on your server.
Matteo
Upvotes: 1