2016-03-28 16:08:02 +0300 | received badge | ● Famous Question (source) |
2015-09-07 16:25:09 +0300 | received badge | ● Popular Question (source) |
2015-09-07 16:25:09 +0300 | received badge | ● Notable Question (source) |
2015-05-21 23:31:25 +0300 | answered a question | Can UserDataPlugin be used to add firewall rule on windows instance? I figured out how to do this from this article - http://www.cloudbase.it/windows-witho.... Now I wonder how I can add RDP access to public networks too...the current image I am using on openstack only allows RDP for private n/w. I may just post another question for this. |
2015-05-20 23:28:33 +0300 | asked a question | Can UserDataPlugin be used to add firewall rule on windows instance? Hi - I am trying to use chef to bootstrap a windows VM on openstack. The issue I am running into is that chef needs winRM to work. I need to run the following command - netsh advfirewall firewall add rule name="WinRM 5985" protocol=TCP dir=in localport=5985 action=allow I have been reading about couldbase-init and how a PS script can be run on first boot using the UserDataPlugin. But I cannot seem to find where exactly I should specify the above command? http://www.cloudbase.it/cloud-init-fo... says to pass it in as user_data but I cannot find any documentation that explains how this plugin works. Can someone explain? Will this approach work to create a firewall rule? Or if there is a better way to do this? Thanks! |