Is possible to restrict Specific outgoing traffic?

Mahavir Saroj 246 Reputation points
2024-03-26T16:46:05.1333333+00:00

Is possible to restrict any specific IP from Azure VM towards internet through NSG

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,720 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Dillon Silzer 57,716 Reputation points
    2024-03-26T17:00:17.9266667+00:00

    Hi Mahavir,

    If I am understanding you correctly, then yes, you can create an Outbound rule in your NSG:

    Go to your NSG > Settings > Outbound security rules

    User's image

    Click + Add

    User's image

    Specify by Source IP, choose your port (or use * for all) and choose the action to Deny > then click Add.

    If this is helpful please accept answer.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.