pub async fn add_dnat(
__arg0: State<AppState>,
__arg1: Json<DnatRequest>,
) -> Result<Json<DnatConfig>, (StatusCode, Json<ErrorResponse>)>Expand description
POST /dnat — Adds a static DNAT rule.
Idempotent: if the exact same DNAT config already exists in the daemon state (e.g. after restart reconciliation), returns OK without error.
Span fields: ext.ip, int.ip, ports, proto.