PS Remoting issue

I'm trying to establish a PSSession to a remote server in DMZ (not on the domain).  However, I can't seem to get connected.  

I've set trusted hosts, verified WinRM running, and firewall rules allowed.  Any ideas?

New-PSSession : [WW2WS101] Connecting to remote server WW2WS101 failed with the following error message : The client cannot connect to the destination 
specified in the request. Verify that the service on the destination is running and is accepting requests. Consult the logs and documentation for the 
WS-Management service running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the 
destination to analyze and configure the WinRM service: "winrm quickconfig". For more information, see the about_Remote_Troubleshooting Help topic.
At \\dm3us001\Scripts\@migration\SUI\updateWebApplications.ps1:14 char:15

Open in new window

LVL 16
Dustin SaundersDirector of OperationsAsked:
Who is Participating?
 
footechConnect With a Mentor Commented:
Given the error message, and that it's in a DMZ, I would still suspect firewalls.  I would run a network capture on the machine in the DMZ to see if it is receiving traffic on TCP 5985 (assuming that's what you're using) when you try to establish a connection.
0
 
Dustin SaundersDirector of OperationsAuthor Commented:
Ended up being my mistake, in the firewall (which is all linux cmd line) I mistakenly had swapped the interface number on the pass in/out rules.

Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.