Warning
This content has been generated by machine translation. The translations are automated and have not undergone human review or validation.
5.3 Method #2. Adding a Custom Security List
-
Open the navigation menu in the OCI console. Go to Networking > Virtual Private Networks.
-
Click the VCN you are currently using (eg oci-hol-vcn) to go to the details of the VCN.
-
Go to Resources > Security List item in the lower left.
-
Click Create Security List to add Custom Security List in addition to Security for Private Subnet and Public Subnet created by VCN Wizard.
-
In the Create window, enter the Ingress firewall rule.
- Security List Name: Enter the name of the new rule, e.g. Customer Security List
- Ingress Rule setting: Add the listening port used by Apache HTTP server
- Source CIDR: 0.0.0.0/0, requests coming from any IP
- IP Protocol: TCP
- Destination Port Range: 80, port to open
- Egress Rule settings: Do not change.
-
Scroll to the bottom and click Create Secure List
-
Added a new Security List.
-
Go to Subnets in the Resources menu on the left to add a new Security List to the Subnet.
-
Click on the Public Subnet where the instance where the Apache server is installed is located.
-
Click Add Security List to add a new Security List without changing the current Default Security.
-
Add the Custom Security List created earlier.
-
Both Security Lists are now applied to the Public Subnet.
As an individual, this article was written with my personal time. There may be errors in the content of the article, and the opinions in the article are personal opinions.