Country or region and language

    Choose your country or region and your language.

    Suggested for you

      All countries and regions

        Choose your character

        It shows in the top bar and on your profile. Change it any time.

        Azure NSG rules and traffic boundaries

        Describe the connection before writing its rule: direction, source, destination, protocol and port. Then inspect priority and the other controls on that path.

        Checked 14 November 2026

        A narrow allowed path

        A fictional operations service accepts HTTPS from a specified office range. An inbound TCP rule for port 443 with that source is different from allowing every source or every protocol. Lower numeric NSG priorities are evaluated first. Read potentially matching rules before adding another one.

        NSGs are stateful. You don’t need a mirror rule solely for return traffic on an allowed connection. That doesn’t establish that the destination application is listening or that routing and other controls permit the request.

        Configuration practice

        Open the NSG rules exercise and identify the requested security group. Configure the source range, protocol, port and priority in the local console. Inspect the saved rule instead of relying on its display name.

        Change one field and explain the consequence. A plausible rule name can hide an overbroad source or a priority that doesn’t meet the request. The local model checks configuration; it doesn’t send packets or reproduce Azure’s complete effective-rule evaluation.

        Network investigation

        Continue in the Azure course with subnets, network interfaces and incident cases. Use networking practice for addresses, routes and packet evidence. In a real environment, test the actual path and the receiving service before concluding that an NSG change restored connectivity.

        Sources

        Your Work Gym account

        Save your progress and pick up on another device. Your browser's progress comes with you.

        or

        You can keep practicing without an account.

        Help and feedback

        Ask a question, tell us what is not working, or share an idea. We reply by email.

        What is it about?

        We use it only to reply to you.