pub async fn handle_dnat(
ext_ip: String,
int_ip: String,
proto: String,
ports: String,
ext_if: Option<String>,
delete: bool,
no_masquerade: bool,
socket: impl AsRef<Path>,
) -> Result<()>Expand description
Adds or removes a static DNAT rule via the daemon API.