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?

  • 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 Jul 26 '09 at 3:16

Have you looked at Visual SVN Server?

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


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

  • 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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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