{"id":99,"date":"2019-05-09T16:57:57","date_gmt":"2019-05-09T16:57:57","guid":{"rendered":"https:\/\/blog.iabsolute.com\/?p=99"},"modified":"2019-05-09T16:57:57","modified_gmt":"2019-05-09T23:57:57","slug":"config-ip-and-netsh-firewall-via-command-windows","status":"publish","type":"post","link":"https:\/\/blog.iabsolute.com\/?p=99","title":{"rendered":"config ip and netsh firewall via command windows"},"content":{"rendered":"\n<p>netsh interface ipv4 set address \u201cLocal Area connection\u201d<br>\nstatic 192.168.3.9 255.255.0.0 192.168.3.1 1<\/p>\n\n\n\n<p>\u2014<\/p>\n\n\n\n<p>netsh interface ipv4 add dnsserver \u201cLocal Area connection\u201d 192.168.3.10 1<\/p>\n\n\n\n<p>\u2014<br>\n\u2014<br>\nnetsh advfirewall set currentprofile settings remotemanagement enable<br>\nnetsh advfirewall set currentprofile settings remotemanagement disable<\/p>\n\n\n\n<p>netsh advfirewall set allprofiles state off<\/p>\n\n\n\n<p>netsh firewall set icmpsetting 8<\/p>\n\n\n\n<p>netsh int ip reset logfile.txt<\/p>\n\n\n\n<p>netsh advfirewall set currentprofile settings<br>\nremotemanagement enable<\/p>\n\n\n\n<p>netsh firewall set service remoteadmin enable<\/p>\n\n\n\n<p>To enable disk management through remote MMC, run the following<br>\ncommands on the Server Core system:<br>\nnetsh advfirewall set currentprofile settings<br>\nremotemanagement enable<br>\nnetsh firewall set service remoteadmin enable<br>\nnetsh advfirewall firewall set rule group=\u201dRemote<br>\nVolume Management\u201d new enable=yes<br>\nUnable to map a drive from Server Core to another system<\/p>\n","protected":false},"excerpt":{"rendered":"<p>netsh interface ipv4 set address \u201cLocal Area connection\u201d static 192.168.3.9 255.255.0.0 192.168.3.1 1 \u2014 netsh interface ipv4 add dnsserver \u201cLocal Area connection\u201d 192.168.3.10 1 \u2014 \u2014 netsh advfirewall set currentprofile settings remotemanagement enable netsh advfirewall set currentprofile settings remotemanagement disable &hellip; <a href=\"https:\/\/blog.iabsolute.com\/?p=99\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-99","post","type-post","status-publish","format-standard","hentry","category-command-line-of-windows"],"_links":{"self":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts\/99","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=99"}],"version-history":[{"count":1,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts\/99\/revisions"}],"predecessor-version":[{"id":100,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts\/99\/revisions\/100"}],"wp:attachment":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=99"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=99"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=99"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}