add-port
Open or close a TCP/UDP port on the instance — updates security list and iptables
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Open or close a TCP/UDP port on the instance — updates security list and iptables
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Scaffold a new OCI Terraform module following project conventions
Deploy or update OCI infrastructure — runs plan and apply
Interactive setup wizard — walks through OCI configuration with guided questions
Manage SSH access to the OCI instance — open, connect, or close
Show current state of OCI infrastructure — IPs, resources, drift
| name | add-port |
| description | Open or close a TCP/UDP port on the instance — updates security list and iptables |
| allowed-tools | Read, Edit, Bash, Grep, Glob |
| argument-hint | <port>[/udp] or remove <port> |
Open or close an inbound port across both layers: VCN security list and instance iptables (cloud-init).
Arguments:
<port>: Add a TCP port (e.g., 80, 8080)<port>/udp: Add a UDP port (e.g., 51820/udp)remove <port>: Remove a TCP portremove <port>/udp: Remove a UDP portPorts are controlled by two variables in terraform/environments/oci-prod/variables.tf:
additional_tcp_ports (default: [80, 443])additional_udp_ports (default: [])These feed into two places via locals in main.tf:
When enable_public_access = false, both lists are forced empty regardless of these variables.
terraform/environments/oci-prod/oci-prod.auto.tfvars to check current port settingsvariables.tf applyoci-prod.auto.tfvarsterraform applyterraform plan to preview the change