Create or update a Lucky port forward
lucky_upsert_port_forwardCreate or update a port-forwarding rule by matching listen port and protocol, mapping an external port to an internal IP:port.
Instructions
Idempotently map an external listen port to an internal ip:port. Matching is by listen_port + protocol unless key is provided. Does not send Lucky's full native object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| name | No | ||
| enabled | No | ||
| protocol | No | ||
| listen_ip | No | ||
| target_ip | Yes | ||
| listen_port | Yes | ||
| target_port | Yes |