Is it possible to restrict the API to a single IP only, without having to use a firewall / iptables level rule which would restrict access to the full 8006 interface.
since the api and the webgui run with the same webserver, you cannot seperate access between those two.
also, even if you could, the webgui does everything via the api, so if you cannot reach the api, you cannot do anything on the webgui