question

LeongYC-7610 avatar image
0 Votes"
LeongYC-7610 asked ABDULWAHEED-1027 answered

Azure VM NSG

Hi,

We have setup a few VM in Azure. How to configure the NSG so that the network traffic is allow to go out but deny network traffic to come into the VM?

azure-virtual-networkazure-virtual-machines-networking
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @LeongYC-7610 ,

Did the answer work for you? Are there any additional questions to this topic?

If you found the answer helpful, it would be great if you please mark it "Accept as answer". This will help others to find answers in Q&A

----------
Regards
Andreas Baumgarten

0 Votes 0 ·
AndreasBaumgarten avatar image
0 Votes"
AndreasBaumgarten answered

Hi @LeongYC-7610 ,

each created NSG contains a set of default Security Rules:
https://docs.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview#default-security-rules

Depending on your requirements you can add more Security Rules.


(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

Regards
Andreas Baumgarten

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ABDULWAHEED-1027 avatar image
0 Votes"
ABDULWAHEED-1027 answered

Hi,

Azure Network Security Groups allow you to create separate incoming and outgoing policies. Create all deny, (except RDP, if required) in incoming policies and allow outgoing traffic in the outgoing section based on the requirement.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.