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

Re: LAN SVN server setup

From: Jared Hardy <jaredhardy_at_gmail.com>
Date: 2007-05-19 07:02:53 CEST

On 5/18/07, Louis Lu <louis.you.lu@gmail.com> wrote:
> Hi,
> I have set up the svn server in a home LAN network, it working well with the
> machines in the LAN network.
> However, the Wan IP seems dynamic, how can i let the machine does not within
> the LAN network connect to the svn server.
>
> I tried : svn://my wan ip address here/repository, and there is error said,
> can not find the host. seems port forwarding can solve this, can anyone help
> ? how should I set up ? by the way, I am running the server on windows xp.

Portforward.com is a good resource for getting your firewall/router to
allow WAN connections on your server port. If at all possible (it's a
pain on WinXP), try to use Apache with HTTPS access for dav-svn, or
SVN+SSH, and only open the HTTPS and/or SSH port(s). Un-encrypted or
"clear text" svn: and http: access is dangerous for anything but
public projects, who don't care about security quite as much as
proliferation. Try to change to a Linux or BSD server if you can, even
if it's in a Virtual Machine under Windows -- Windows is always
dangerous to expose to a WAN.
    Once you confirm your router is working, try to get a dynamic DNS
name that will point to your current IP at any time, from a service
like DynDNS.org. Some firewalls even come with Dynamic DNS service
support built in. Otherwise, your WAN users will have to run "svn
switch new.ip#.###.###" every time the IP number changes.

:) Jred

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat May 19 07:03:12 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.