Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch 471 #493

Merged
merged 7 commits into from
Oct 27, 2022
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions en/azure/networksecuritygroups/open-all-ports.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@

## Detailed Remediation Steps

alphadev4 marked this conversation as resolved.
Show resolved Hide resolved
1. Log into the Microsoft Azure Management Console.
2. Select the "Search resources, services, and docs" option at the top and search for Network security groups. </br> <img src="/resources/azure/networksecuritygroups/open-all-ports/step2.png"/>
1. Log in to the Microsoft Azure Management Console.
2. Click on the search bar and search for Network security groups. </br> <img src="/resources/azure/networksecuritygroups/open-all-ports/step2.png"/>
3. Select the "Network security group" that needs to be verified. </br> <img src="/resources/azure/networksecuritygroups/open-all-ports/step3.png"/>
4. Click on the "Name" of the selected "Network security group" to access the port configurations. </br> <img src="/resources/azure/networksecuritygroups/open-all-ports/step4.png"/>
5. In the "Overview" tab scroll down the page and check the "Inbound security rules." </br> <img src="/resources/azure/networksecuritygroups/open-all-ports/step5.png"/>
6. On the "Inbound security rules" page under the "Settings", please verify all the ports apart from HTTP/HTTPS are not open to public and if any port such as SSH is open to the public then it's not as per the recommendation of Azure best practices.</br> <img src="/resources/azure/networksecuritygroups/open-all-ports/step6.png"/>
7. Repeat steps number 2 - 6 to verify other "Network security group." </br>
7. Repeat steps number 2 - 6 to verify other "Network security groups". </br>
alphadev4 marked this conversation as resolved.
Show resolved Hide resolved
8. Navigate to the "Network security group" and select the security group that needs to modify for restricting the other ports to specific IP Address.</br> <img src="/resources/azure/networksecuritygroups/open-all-ports/step8.png"/>
9. Scroll down the left navigation panel and choose "Inbound security rules" under "Settings."</br> <img src="/resources/azure/networksecuritygroups/open-all-ports/step9.png"/>
alphadev4 marked this conversation as resolved.
Show resolved Hide resolved
10. Click on the "SSH or any" protocol in the "Name" column and under "Source" select the "IP Address" from the dropdown menu and enter the "Source IP addresses/CIDR ranges" as per the requirement, select the required Protocol and Action, enter the priority and click on the "Save" option at the top panel. </br> <img src="/resources/azure/networksecuritygroups/open-all-ports/step10.png"/>
11. Repeat steps number 8 - 10 to restrict ports to known IP addresses .</br>
10. Click on "Name" column of the "SSH or any" protocol you want to modify. </br> <img src="/resources/azure/networksecuritygroups/open-all-ports/step10.png"/>
11. In the right pane, under "Source" select the "IP Addresses" from the dropdown menu and enter the "Source IP addresses/CIDR ranges" as per the requirement, select the required Protocol and Action, enter the priority and click on the "Save" option at the top of the pane. </br> <img src="/resources/azure/networksecuritygroups/open-all-ports/step11.png"/>
12. Repeat steps number 8 - 11 to restrict ports to known IP addresses.</br>
alphadev4 marked this conversation as resolved.
Show resolved Hide resolved
Binary file modified resources/azure/networksecuritygroups/open-all-ports/step10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/azure/networksecuritygroups/open-all-ports/step3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/azure/networksecuritygroups/open-all-ports/step4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/azure/networksecuritygroups/open-all-ports/step6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/azure/networksecuritygroups/open-all-ports/step8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/azure/networksecuritygroups/open-all-ports/step9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.