<div dir="auto">Hi Michal,</div><div dir="auto"><br></div><div dir="auto">Reason for asking is I am using peru/windowsbox as guest os running on linux/kvm host. The box owner pointed winRM support in libvirt.</div><div dir="auto">The VM is running on linux/kvm host which have different domain IP (10.190.xxx.xxx) and windows guest gets 192.168.xxx.xxx IP. </div><div dir="auto">Atleast on windows localhost:985/wsman should be accessible.</div><div dir="auto">I am clueless.</div><div dir="auto"><br></div><div dir="auto">Regards</div><div dir="auto">Nishit</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 11 Apr 2022 at 5:20 PM, Michal Prívozník <<a href="mailto:mprivozn@redhat.com">mprivozn@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">On 4/11/22 12:49, Nishit Sharma wrote:<br>
> Hi Michal,<br>
> <br>
> Thing is the winRM from linux is unable to open remote shell in windows<br>
> guest as mentioned in error logs. I am using NAT mode but didn’t use<br>
> port forwarding. Firewall for 5985 is open in windows guest and from<br>
> linux I can connect with windows guest through Enter-PSSession and<br>
> telnet. Even on guest os localhost:5985/wsman is showing http error 405,<br>
> no page.<br>
> Any suggestions?<br>
<br>
Where is the winRM running? is it on the host that's running the Windows<br>
VM? Because if it is, then you shouldn't need any port forwarding as the<br>
host has access to the bridge and VM's NIC directly. Otherwise, you'll<br>
need port forwarding.<br>
<br>
Are you connecting from another VM? Then try checking firewall in the<br>
host. At any rate, I'm still failing to see what can libvirt do to help.<br>
<br>
Michal<br>
<br>
</blockquote></div></div>