2
I want to set up a svn server on my computer, so it's available from anywhere.
I think I set up the repository correctly, using CollabSVN. If I go to Repo-Browser with TortoiseSVN and point it to svn://localhost:3690
, it shows the proper repository.
The problem now is that I'm behind a router. My local IP is 192.168.1.45. Doing svn://192.168.1.45:3690
also works. My global IP is, say, x.x.x.x
. Just doing svn://x.x.x.x:3690
doesn't work, which makes sense, since I have to set up port forwarding.
I'm using a Verizon router. Using their web interface (on 192.168.1.1
) I added the following port forwarding rule:
IP Address forward to: 192.168.1.45
Source Ports: Any
Dest Ports: 3690
Forward to: 3690
Protocol: TCP
However, even after applying this rule, going to svn://x.x.x.x:3690
doesn't work. It takes a few seconds to fail, then says that the connection couldn't be established because the server connected to didn't respond properly after a period of time. What's interesting is that a random port, like svn://x.x.x.x:36904
fails immediately, saying that the target machine actively refused the connection. So I figure that the forwarding rule did something, but not fully what was necessary.
Any ideas on how to get this working? The router model is MI424-WR
and the firmware version is 4.0.16.1.56.0.10.12.3
.
UPDATE: I also tried setting destination port to 45000, and still forwarding to 3690, in case something was wrong w/ the lower-numbered ports, but to no avail. I also tried port 80 to port 3690, still all in vain.
Are you using the Westell 7500? – jer.salamon – 2010-07-23T14:55:49.487
not quite. i noticed the instructions on verizon's site, and although the interface looks similar, the port forwarding part was different – Claudiu – 2010-07-23T14:57:57.207
Well our company has about 50 locations that have DSL and we received the 7500 Verizon router. Since day 1 they had nothing but issues with port forwarding. We swapped them out for 6110 bridge only modems and Netgear routers because they had so many issues. – jer.salamon – 2010-07-23T15:01:18.057
hm it could just be router fail. i remember getting port 80 to forward properly, though.. i wonder why this one doesnt. – Claudiu – 2010-07-23T15:05:28.513
check this post (http://serverfault.com/questions/71775/setting-up-subversion-server-on-windows-2008-access-when-ports-blocked)
– Fergus – 2011-01-10T23:57:14.720