IP Addresses
Network Address Translation
Register NAT IP address to public IP address
This function pairs a local IP address with a public IP address on NAT-configured servers.
get/nat_set_public_ip
Request
- Base URLhttps://whm-server.tld:2087/json-api
- AuthHTTP basic
Query parameters
local_ipstring ipv4 required
Example:192.168.4.10
The local IPv4 address.
public_ipstring ipv4 required
Example:10.5.3.33
The public IPv4 address.
Response
HTTP Request was successful.
Example response
{
"metadata": {
"command": "nat_set_public_ip",
"reason": "OK",
"result": 1,
"version": 1
}
}Changes
No recorded changes to this operation across all 5 revisions of this API.