[英]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.