通过 DYNDNS 使用 TortoiseSVN 远程访问 VisualSVN 存储库

发布于 2024-11-24 23:40:35 字数 356 浏览 3 评论 0原文

我正在尝试通过 DynDNS 远程访问我的存储库并通过他们的客户端更新动态地址。在本地,我可以结帐、导入等。使用 TortoiseSVN,但对于我来说,我无法远程访问我的存储库。远程访问存储库的语法是什么?我试过:

https://.dyndns.biz/svn https://.dyndns.biz/svn//trunk

还使用带或不带端口号的 IP 地址、svn://、http:// 和许多变体。谁能告诉我如何正确设置 TortoiseSVN 并为我提供正确的 URL 语法来远程访问我的存储库。哦,然后用图片写博客,因为我在任何地方都找不到正确的答案。

使用: VisualSVN 服务器(免费) 乌龟SVN(免费) 动态 DNS(免费)

I am trying remotely access my repository through DynDNS and updating the Dynamic Address through their client. Locally, I can checkout, Import, ETC. using TortoiseSVN, but for the life of me, I can NOT access my repository remotely. What is the syntax for accessing the repository remotely? I've tried:

https://.dyndns.biz/svn
https://.dyndns.biz/svn//trunk

also using the IP address with and without the port number, svn://, http:// and many variations. Can anybody tell me how to set up TortoiseSVN correctly and give me the correct URL syntax to access my repositories remotely. Oh, and then blog it with pictures, because I can't find the correct answer anywhere.

Using:
VisualSVN Server (free)
TortoiseSVN (free)
DynDNS (free)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

心凉 2024-12-01 23:40:35

这就是它过去对我有用的方式:

当您注册 DynDNS 帐户时,您必须为您的网站命名,我们假设为 robsapko.dyndns.biz。

您还必须进行设置,定期使用 ISP 提供的 IP 地址更新您的 DynDNS 帐户。由于我使用 Linux,所以我下载了 ddclient 并通过 crontab 条目将其设置为按照 DynDNS 推荐的时间表运行(每小时一次,IIRC)。

然后,您必须在防火墙上打一个洞,以接受端口 443(https 默认端口)上的传入请求,并将它们重定向到您的 VisualSVN 服务器。

完成这两项操作后,与 https://robsapko.dyndns.biz 的 https: 通信将获得您的从 DynDNS 更新 IP 地址,尝试连接到您的 IP 地址,由您的防火墙配置重定向到您的 VisualSVN 服务器,您应该会成功。

确切的 URL 取决于您的存储库配置。

如果您本地连接为 https://svnserver/svn/myrepo 那么您将远程连接为 https://robsapko.dyndns.biz/svn/myrepo

希望这有帮助!

编辑:请注意,这将向全世界开放您的 VisualSVN 服务器。任何人都可以嗅探或探测你的机器。当我这样做时,我在 Linux 机器上设置了 iptables 条目,仅允许来自我的本地网络地址和工作子网的传入连接。我认为我不太可能攻击自己,或者工作中的人也不太可能攻击我。你已被警告过。标准免责声明适用。

This is the way it used to work for me:

When you signed up for a DynDNS account you had to give your site a name, let's assume robsapko.dyndns.biz.

You must also set up something that will update your DynDNS account with your ISP-provided IP address on a regular basis. Since I use Linux I downloaded ddclient and set it up via a crontab entry to run on the DynDNS-recommended schedule (once an hour, IIRC).

Then, you must punch a hole through your firewall to accept incoming requests on port 443 (https default port) and redirect them to your VisualSVN server.

After you've done both of those then https: communications to https://robsapko.dyndns.biz will get your updated IP address from DynDNS, attempt to connect to your IP address, be redirected by your firewall configuration to your VisualSVN server and you should be successful.

The exact URL depends upon your repository configuration.

If you connect locally as https://svnserver/svn/myrepo then you would connect remotely as https://robsapko.dyndns.biz/svn/myrepo.

Hope this helps!

edit: Be aware that this opens your VisualSVN server to the entire world. Anyone could sniff or probe your machine. When I did this I set up iptables entries on my Linux box that only allowe incoming connections from my local network addresses and my work subnet. I considered it unlikely that I'd hack myself or that someone from work would hack me. You have been warned. Standard disclaimers apply.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文