Add option to disable web portal #16406
-
Page:Web portal Basically I have cockpit installed on the webserver, and I want to use it, but I only want to access it via a connected instance from my homelab. So for security hardening I want to disable the web portal on the webserver. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I'd recommend not installing/removing Alternatively, use the firewall to restrict access to port 9090. |
Beta Was this translation helpful? Give feedback.
I'd recommend not installing/removing
cockpit-ws
completely from that critical server, and only have the cockpit webserver on some less critical or better isolated machine -- like your laptop/workstation. You can then add your server as a "remote" machine in the left menu, or directly log into it from the login page. See https://cockpit-project.org/guide/latest/authentication.html#secondary-authAlternatively, use the firewall to restrict access to port 9090.