I have a subversion server setup on my home network (windows).

I'd like to open a port in my router/firewall and allow access to it from the net. What do I need to do to make sure I don't put both my svn repo at risk and put at risk the rest of the network?

link|improve this question

67% accept rate
Unix or Windows? – GeneQ Jul 26 '09 at 3:02
Pretty much the best thing to do is use encryption. – jtbandes Jul 26 '09 at 3:05
right, it's a windows box – Scott Weinstein Jul 26 '09 at 3:16
feedback

3 Answers

up vote 5 down vote accepted

Have you looked at Visual SVN Server?

It's free and really nice. It sets up SSL access for you and everything.

link|improve this answer
feedback

I've tried sharing out my SVN repository via svnserve+SSH (before moving to git). Works fine and it's secure. Svnserve is a lightweight stand-alone server which uses a custom protocol over an ordinary TCP/IP connection which ships every copy of Subversion.

Here's the Unix way, Appendix G. Securing Svnserve using SSH,

and here's the Windows way, Svnserve Based Server Chapter 3. The Repository

link|improve this answer
I've not tried setting up svnserve on Windows so I can't verify if it works. I guess it should. – GeneQ Jul 26 '09 at 3:14
feedback

GeneQ's answer is right.

But if you paranoic, then you create VPN/SSH connection to your home network.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.