windows - Azure Cloud Services Block all public access with exception -
in azure cloud services how block public access exception list ?
i running azure cloud service windows 2008 r2 instance.
you can set access control list on endpoints, specifying ranges of ip addresses allow or block. exposed via powershell. you'd this:
$acl = new-azureaclconfig set-azureaclconfig -addrule permit -remotesubnet "1.2.3.0/24" -order 1 -acl $acl -description "my company ip range" set-azureaclconfig -addrule deny -remotesubnet "5.6.7.0/24" -order 2 -acl $acl -description "that evil hacker" get-azurevm -servicename myservice -name myvm | set-azureendpoint -name http -protocol tcp -publicport 80 -localport 80 -acl $acl | update-azurevm
Comments
Post a Comment