Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 6 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

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

GeneQ's answer is right.

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

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .