Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
    
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
add comment

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.

share|improve this answer
add comment

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

share|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
add comment

GeneQ's answer is right.

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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