Subversion in a jail - access from outside LAN

Status
Not open for further replies.

yozart

Dabbler
Joined
Mar 5, 2016
Messages
20
Hello,

I have created a jail where I set up a SVN repository. Everything is working fine in LAN. I can Checkout, commit, update without any issue. But any time I try outside my lan, I can't connect at all.

I opened port 3690 in my router to allow trafic but still nothing. Does anyone have an idea of what I missed here?

My configuration :
- Freenas : 9.10.2-U5
- I'm using default subversion available in the jails (1.9.3)
- I'm launching the demon with the following command:
svnserve -d -r /mnt/SVN1
- I use tortoise which use a URL like svn://monurl.com
2017-07-31_11-25-37.jpg



Regards,
 
Last edited:

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
When you say you opened the port, are you saying you setup port forwarding? You may need to add ":3690" tot he end of the URL.
 
Last edited:

yozart

Dabbler
Joined
Mar 5, 2016
Messages
20
Hello,

yes, I open the ports in my router (port forwarding).
Port 3690 is the default port of svnserve.
I've added the parameter --log-file /var/log/svnserve.log

and here is what I can see in the log:
18704 2017-07-31T19:49:50.371110Z <calling_IP> - - ERR - 0 210002
Network connection closed unexpectedly



Anyway, I tried adding the port as you told, unfortunately, it didn't changed anything.
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
Can you disable your firewall completely just to test it out? Also, what kind of firewall do you have?
 

yozart

Dabbler
Joined
Mar 5, 2016
Messages
20
Thanks for your answer. It seems issue is somewhere else. I enabled temporarly the authenticated access and allowed anonymous access and it worked great. My issue seems to be related to authorization then.

not sure what to configure yet
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
Well you are at least on the track to figure it out, this is much better than having no idea at all.
 
Status
Not open for further replies.
Top