This function validates a public IP address on a NAT-configured server.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ nat_checkip \ ip='192.168.4.10'
{- "data": {
- "checked_ip": "192.168.4.10"
}, - "metadata": {
- "command": "nat_checkip",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}