首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >PSRemoting通过VPN失败

PSRemoting通过VPN失败
EN

Stack Overflow用户
提问于 2016-11-29 05:17:12
回答 1查看 1.6K关注 0票数 0

我的笔记本电脑是域连接,我使用PSRemoting只是从我的办公室很好。当我试图通过VPN在办公室外连接时,我遇到了一个错误。我已经三次检查了我们的防火墙,但问题似乎是在客户端或服务器,因为“测试-WSMan”成功,没有任何问题。我把机器添加到彼此信任的主机上,并尝试了许多其他的东西,但都没有成功。请帮帮我!

我是域名管理员的成员,笔记本电脑在域名上。

代码语言:javascript
运行
复制
Enter-PSSession : Connecting to remote server SERVERNAME failed with the following error message : WinRM cannot
process the request. The following error with errorcode 0x80090311 occurred while using Kerberos authentication: The
are currently no logon servers available to service the logon request.
 Possible causes are:
  -The user name or password specified are invalid.
  -Kerberos is used when no authentication method and no user name are specified.
  -Kerberos accepts domain user names, but not local user names.
  -The Service Principal Name (SPN) for the remote computer name and port does not exist.
  -The client and remote computers are in different domains and there is no trust between the two domains.
 After checking for the above issues, try the following:
  -Check the Event Viewer for events related to authentication.
  -Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or
use HTTPS transport.
 Note that computers in the TrustedHosts list might not be authenticated.
   -For more information about WinRM configuration, run the following command: winrm help config. For more
information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ Enter-PSSession SERVERNAME
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (SERVERNAME:String) [Enter-PSSession], PSRemotingTransportException
    + FullyQualifiedErrorId : CreateRemoteRunspaceFailed
EN

回答 1

Stack Overflow用户

发布于 2016-11-29 06:20:47

从这个问题上,我的理解如下:

  • 在添加受信任的主机时,应该使用如下所示的FQDN添加服务器

设置项wsman:\localhost\Client\受托人-Value Server01.Domain01.Fabrikam.com

  • 在Enter期间,我建议您不要使用-Authentication,作为Kerberos,因为它是一个域管理帐户,因此可以使用默认值。
  • 我相信这些端口是从网络端开放的,因为您已经这样做了。但是,请确保交叉检查端口的状态;端口是否正确地监听。

我相信这些观点会对你有所帮助。通常,VPN不会带来这么多问题,除非跳非常复杂。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/40858306

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档