Skip to content

Instantly share code, notes, and snippets.

@tanaka-takayoshi
Created August 16, 2013 11:07
Show Gist options
  • Select an option

  • Save tanaka-takayoshi/6249030 to your computer and use it in GitHub Desktop.

Select an option

Save tanaka-takayoshi/6249030 to your computer and use it in GitHub Desktop.
Setup Windows Server 2012 for NAT instace on VPC (Amazon EC2)
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