Connecting to SVN server from a computer outside of my LAN
Posted
by
Tom Auger
on Server Fault
See other posts from Server Fault
or by Tom Auger
Published on 2012-07-09T16:20:09Z
Indexed on
2012/07/11
15:17 UTC
Read the original article
Hit count: 230
I've got a Fedora server running Subversion and svnserve on port 3690. My repo is at /var/svn/project_name. I have my router forwarding port 3690 to the local server (as well as port 80, 21, 22 and a few others). When I connect locally to svn://192.168.0.2/project_name it works great. When I connect from an external server to svn://my.static.ip/project_name I get a time out connecting to the host. However, if I http://my.static.ip there is no problem, so port forwarding is working (at least for port 80).
I don't want to run WebDAV or svn via HTTP/s. I'd like it to work using svnserve, as documented in the svn book. What have I misconfigured?
EDIT Here is the last part of my iptables dump. I'm not an expert, but it looks OK to me:
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:svn
ACCEPT udp -- anywhere anywhere state NEW udp dpt:svn
ACCEPT tcp -- anywhere anywhere state NEW tcp dpts:6680:6699
ACCEPT udp -- anywhere anywhere state NEW udp dpts:6680:6699
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
EDIT 2 Results from sudo netstat -tulpn
tcp 0 0 0.0.0.0:3690 0.0.0.0:* LISTEN 1455/svnserve
© Server Fault or respective owner