TheKoguryo's Tech Blog

 Version 2024.05.05

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

  1. Open the navigation menu in the OCI console. Go to Networking > Virtual Private Networks.

  2. Click the VCN you are currently using (eg oci-hol-vcn) to go to the details of the VCN.

  3. Go to Resources > Security List item in the lower left.

  4. Click Create Security List to add Custom Security List in addition to Security for Private Subnet and Public Subnet created by VCN Wizard.

    image-20220111210440149

  5. 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.

    image-20220111210956796

  6. Scroll to the bottom and click Create Secure List

  7. Added a new Security List.

    image-20220111211421446

  8. Go to Subnets in the Resources menu on the left to add a new Security List to the Subnet.

  9. Click on the Public Subnet where the instance where the Apache server is installed is located.

    image-20220111211538181

  10. Click Add Security List to add a new Security List without changing the current Default Security.

    image-20220111211714616

  11. Add the Custom Security List created earlier.

    image-20220111211835484

  12. Both Security Lists are now applied to the Public Subnet.

    image-20220111212058188



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.

Last updated on 7 Jan 2019