Created
August 16, 2013 11:07
-
-
Save tanaka-takayoshi/6249030 to your computer and use it in GitHub Desktop.
Setup Windows Server 2012 for NAT instace on VPC (Amazon EC2)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Set-NetIPInterface -InterfaceIndex 12 -AutomaticMetric Disabled -InterfaceMetric 1 | |
| Get-NetFirewallProfile | Set-NetFirewallProfile -Enabled false | |
| Install-WindowsFeature RemoteAccess -IncludeManagementTools | |
| Add-WindowsFeature -name Routing -IncludeManagementTools | |
| Restart-Computer | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment