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