Frage zu /etc/default/pveproxy

Jeremy Smeets

New Member
Jul 31, 2019
7
0
1
Guten Tag,

ich würde gerne den Zugang zum Webinterface nur noch über localhost erlauben. Ich habe mir hierzu die manpages zu pveproxy angeschaut und bin auf folgende Zeilen gestoßen:

HOST BASED ACCESS CONTROL
It is possible to configure “apache2”-like access control lists. Values are read from file
/etc/default/pveproxy. For example:

ALLOW_FROM="10.0.0.1-10.0.0.5,192.168.0.0/22"
DENY_FROM="all"
POLICY="allow"


Wie wirkt sich die Konfiguration auf andere Ports aus? Handelt sich bei dieser Config explizit um die Web GUI cfg? Oder schließe ich mit dieser Config auch SSH und andere Ports? Muss ich SSH Eexplizit als Sonderregel anlegen?
 
dieses file bezieht sich nur auf pveproxy - den daemon, der die API und das webinterface bereitstellt.
 
die datei '/etc/default/pveproxy' wird nur von pveproxy (daemon, welcher das web-interface zur Verfügung stellt ) und spiceproxy (daemon, um spice-connections an die richtige node weiterzuleiten.

falls es sich um einen cluster handelt, unbedingt auch das clusternetzwerk freischalten.

ssh nur von localhost zuzulassen klingt etwas ungewöhnlich? Wie soll dann die Verbindung von außen passieren?
 
....

ssh nur von localhost zuzulassen klingt etwas ungewöhnlich? Wie soll dann die Verbindung von außen passieren?


SSH Tunnel auf die Node und Port Forwarding. So lässt sich eigl relativ gut sicherstellen das niemand ohne SSH Key das Web GUI auch nur sieht :)
 
Ahh - ich hatte verstanden, dass ssh nur über localhost gehen soll ... - sorry die Verwirrung :)
 
  • Like
Reactions: Jeremy Smeets

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!