Proxmox API

Ashley

Member
Jun 28, 2016
267
15
18
36
Hello,

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.

Thanks,
Ashley
 
Hello,

Thanks, did have a read of that before however makes it sound like it is for the whole port 8006 from how I understand it.

Setting host based access on this will it still allow other IP's to connect to the standard PVEGUI from other IPs'?

,Ashley
 
Thanks, did have a read of that before however makes it sound like it is for the whole port 8006 from how I understand it.

Setting host based access on this will it still allow other IP's to connect to the standard PVEGUI from other IPs'?
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
 
Hello,

Thanks for confirming, I just wished to lock the API down to local only + one external IP, but continue to allow GUI access.

However understand both running on the same backed server, thanks for confirming.
 
the GUI is a javascript API client, so this is not possible.
 
  • Like
Reactions: Ashley