Skip to main content

handle_snat

Function handle_snat 

Source
pub async fn handle_snat(
    int_ip: String,
    ext_if: String,
    ext_ip: String,
    delete: bool,
    socket: impl AsRef<Path>,
) -> Result<()>
Expand description

Adds or removes a static SNAT rule via the daemon API.