I want to set up an 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
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 22.214.171.124.126.96.36.199.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.