-2

I have my own "server" (old laptop) which I use for SVN, Samba and some other things. I own another Laptop which I sometimes use from my home and sometimes outside. Right now, I can sync via SVN locally and it works great. I was wondering if there's any way to be able to sync when I'm outside without loosing the possibility to sync when I'm home.

I actually sync via svn+ssh on a non standard port and I'd like to keep it that way.

After doing some research, it seems the best option I've found is setting up a VPN server in order to "get inside the LAN from outside", but I've been following plenty of tutorials and I couldn't make it work for my Ubuntu Server 15.

I've also found the svn-sync command, but as far as I've read it wont do what

Thanks!

4

1 回答 1

1

常见答案:“视情况而定”

  1. 您如何连接到 WAN(即您有一个接口用于所有或至少 WAN+LAN)
  2. 您是否直接连接到 WAN 或 NAT?

无论如何,你必须有SVN(ssh)来监听接口,可以从外部世界访问(在这种情况下远程客户端的IP不玩游戏)

于 2016-04-05T18:10:22.863 回答