add-port
Open or close a TCP/UDP port on the instance — updates security list and iptables
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Open or close a TCP/UDP port on the instance — updates security list and iptables
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
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