简体   繁体   English

VPN的问题,以启用CI系统和访问MAC以进行Visual Studio开发

[英]Issue with VPN to enable CI system and accessing MACs for Visual studio developement

I am trying to setup build servers, and a mac available for remote builds in VS. 我正在尝试设置构建服务器,并且Mac可用于VS中的远程构建。 As results I have a Synology server setup with VPN enabled. 结果,我有启用了VPN的Synology服务器设置。 The Firewall and all settings are setup according to the synology guide . 防火墙和所有设置均根据Synology指南进行设置。 I have then enabled port forwarding on my linksys WRT1900ACS router, for the three ports needed (500,1701,4500), which is also enabled in the firewall on the router. 然后,我已在linksys WRT1900ACS路由器上为所需的三个端口(500,1701,4500)启用了端口转发,该端口也已在路由器的防火墙中启用。 I then access the VPN locally without any issues, tried with different guides ( guide1 guide2 guide3 ). 然后,我尝试使用不同的指南( guide1 guide2 guide3 )在本地访问VPN,没有任何问题。

I then create copies of the vpn connection and inserting my static IP from my ISP. 然后,我创建vpn连接的副本,并从ISP插入我的静态IP。 I logon to a tethered internet from my phone, as to ensure the network is different. 我从手机登录到共享网络,以确保网络不同。 I then get an error: 然后我得到一个错误:

local l2tp connection attempt failed because the security layer encountered a processing error during initial negotiations. 本地l2tp连接尝试失败,因为安全层在初始协商期间遇到处理错误。

Searching it seems like it is an error with the registry ( reg 1 reg 2 ). 搜索它似乎是注册表错误( reg 1 reg 2 )。 Changing that just makes the vpn connection hang. 更改该设置只会使vpn连接挂起。 What am I doing wrong? 我究竟做错了什么? After waiting a long period of time (several minutes), the same error returns. 等待较长时间(数分钟)后,将返回相同的错误。

I have also tested on an Ipad using the settings defined in ios-settings . 我还使用ios-settings中定义的设置在Ipad上进行了测试。

For others the above guides solves the issue if you have a static IP. 对于其他用户,如果您拥有静态IP,上述指南可以解决该问题。 You however have to ensure that your ISP, have allowed the traffic, and that your router does not receive a double IP registration, rendering your static IP invalid. 但是,您必须确保您的ISP允许了流量,并且您的路由器不会收到双重IP注册,从而使您的静态IP无效。

which was the case for me. 对我来说就是这种情况。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 CI构建在Visual Studio Team Services中失败(是Visual Studio Online)-dnvm问题? - CI build fails in Visual Studio Team Services (was Visual Studio Online) - dnvm issue? Visual Studio docker支持不适用于CI / CD - Visual Studio docker support doesn't work with CI/CD 如何使用Visual Studio使用Xamarin UITest执行CI - How to perform CI with Xamarin UITest using Visual Studio Visual Studio Team Services *** NO_CI ***不能与Bitbucket和Xcode一起使用 - Visual Studio Team Services ***NO_CI*** Not working with Bitbucket and Xcode 为什么我不应该在我的CI服务器上安装Visual Studio? - Why ought I not to install Visual Studio on my CI server? 在ci服务器中使用Visual Studio解决方案或维护单独的构建文件 - Use Visual Studio solution in ci server or maintain a separate build file Visual Studio网站构建在CI服务器上间歇性地失败 - Visual Studio Website build fails intermittently on CI server Bamboo CI 构建的 Visual Studio 解决方案,具有构建顺序依赖项 - Bamboo CI build of Visual Studio solution with build order dependencies GitLab CI启用了SCP - GitLab CI enable SCP 如何在不使用Visual Studio的情况下启用代码覆盖? - How to enable code coverage without using Visual Studio?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM