Functions§
- add_
dnat POST /dnat— Adds a static DNAT rule.- add_
hairpin POST /hairpin— Adds a static hairpin NAT rule.- add_
mapping POST /mapping/:container_id— Adds a new port mapping.- add_
policy_ route - add_
snat POST /snat— Adds a static SNAT rule.- bind_
ports - clear_
all DELETE /clear— Removes all managed NAT rules and resets daemon state.- list_
mappings GET /mappings— Returns all managed DNAT, SNAT, hairpin, and Docker mappings.- remap_
port PUT /remap/:container_id— Remaps a host port for a running container.- remove_
dnat DELETE /dnat— Removes a static DNAT rule.- remove_
hairpin DELETE /hairpin— Removes a static hairpin NAT rule.- remove_
mapping DELETE /mapping/{container_id}/{port}— Removes a specific port mapping by container and port.- remove_
mapping_ by_ id DELETE /mapping/by-id/:id— Removes a port mapping by its numeric ID.- remove_
policy_ route - remove_
snat DELETE /snat— Removes a static SNAT rule.- unbind_
ports