Port forwarding
NAT rules map public ports to instance ports.
List
Columns: host, instance, public port, private port, state, actions.

Create
- Select host.
- Select instance.
- Enter public and private ports (TCP).
- Optional note.
A public port can only be used once per host.
How rules are applied
| Platform | Mechanism |
|---|---|
| Proxmox / QEMU | host iptables DNAT |
| LXD | iptables / proxy device |
| Docker | iptables or socat |
| iKuai | iKuai port-forward API |
| Hyper-V | Windows NAT / port proxy |
Failures are marked red and recorded as tasks.
NAT vs reverse proxy
| Dimension | NAT | Reverse proxy |
|---|---|---|
| Protocol | TCP | HTTP / HTTPS |
| Domain | no | yes |
| TLS | no | Caddy |
| Use | SSH, games, databases | web, panels, APIs |
CLI
bash
quickidc port list --host pve-lab
quickidc port add --host pve-lab --vm <uuid> --public 20022 --private 22
quickidc port del <rule-id>Troubleshooting
| Symptom | Fix |
|---|---|
| Rule exists but fails | check platform firewall and iKuai DNAT |
| Port conflict | change port or delete the other rule |
| Apply failed | inspect task error |