Build Network Security Group rules with CIDR and NSG source references.
Build NSG ingress and egress security rules with CIDR, NSG source/destination references.
Required Fields
compartmentIdvcnIddisplayNamesecurityRulesOutput will appear here...Network Security Groups (NSGs) in OCI provide VNIC-level security rules that are more granular than subnet-level security lists. Unlike security lists that apply to all VNICs in a subnet, NSGs can be attached to specific VNICs — individual compute instances, load balancers, or database systems. Each NSG contains up to 120 ingress and egress rules, and a VNIC can belong to up to five NSGs. This builder helps you construct NSG rules with correct source/destination types (CIDR, NSG, or service), protocol settings, and stateful/stateless flags.
Disclaimer: This tool runs entirely in your browser. No data is sent to our servers. Always verify outputs before using them in production. AWS, Azure, and GCP are trademarks of their respective owners.