Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

The SVN server at my work has been moved to a different machine. This wouldn't present a problem except that the firewall rules have not been set up properly and I'm unable to connect to the new server on the SVN Server port.

This should also be a trivial problem, however the processing time for a firewall change request is over 2 weeks.

I am able to SSH to the SVN server. Inside the Putty session I am able to wget pages from the SVN server, so I know my user/pass is ok and the server is up and running.

So I figured I'd set up an SSH tunnel to get me by in the meantime. I followed the instructions at but am getting an error "Unable to Connect" when attempting to hit the URL from the browser.

How can I diagnose what is going wrong? The putty logs don't seem to show anything useful. I have verified that TCP Forwarding and X11 Forwarding are enabled in sshd_config.

Any help greatly appreciated.

share|improve this question
The Guide you follow sets up a socks proxy (dynamic). What you probably want is Local Forwarding (local). You tunnel from localhost:Port to destination:Port and point your svn client to localhost:Port. – Tim Haegele Dec 2 '13 at 6:55
I think you want to connect to a specif port on remote server which is not accessible due to firewall. In this case you need local forwarding as suggested in above comment. in local forwarding, you will connect to that specific port on you local desktop, and open a ssh tunnel which will route the traffic to destination server over ssh. – slayedbylucifer Dec 2 '13 at 10:00
I tried using local forwarding and that doesn't work for me either. =( Is there any way to debug this stuff? The log have anything that looks like tunnel information in it. – Peter Wilkinson Dec 10 '13 at 6:13
I take it back. Local forwarding works. I still don't understand why dynamic forwarding does not, but this is good enough. – Peter Wilkinson Dec 10 '13 at 6:23

Your Answer


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

Browse other questions tagged or ask your own question.