방화벽 설정하기 (Windows 2012, Windows 8)


  • Powershell v3에서는
    방화벽
    설정을
    위한
    새로운 cmdlet
    추가되었다. 그것은
    바로 New-NetFirewallRule이다
  • 다음은
    외부에서

    로컬
    컴퓨터의 Web Server
    접속할

    있도록
    방화벽을
    열어주는
    것이다.        

    New-NetFirewallRule
    -DisplayName
    “Allow Port 80”
    -Direction
    Inbound -LocalPort
    80 -Protocol
    TCP -Action
    Allow

     
     

     
     

     
     

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s