Hi,
I have several ethernet interfaces. To secure Proxmox webgui I want it to only listen on one of them.
When checking netstat, I can see that it's listening on 0.0.0.0 (all) interfaces:
Checked
This probably denies requests from IPs not in the
How can I make pveproxy LISTEN on only one interface/IP? Yes, I know I can use iptables, but I want it to LISTEN on only one interface.
I have several ethernet interfaces. To secure Proxmox webgui I want it to only listen on one of them.
When checking netstat, I can see that it's listening on 0.0.0.0 (all) interfaces:
Code:
root@pve:~# netstat -lntp|grep 8006
tcp 0 0 0.0.0.0:8006 0.0.0.0:* LISTEN 6629/pveproxy
Checked
man pveproxy
and found the following: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"
This probably denies requests from IPs not in the
ALLOW_FROM
, but this is dependant on security measures within the pveproxy application. I want to filter this on the OS level.How can I make pveproxy LISTEN on only one interface/IP? Yes, I know I can use iptables, but I want it to LISTEN on only one interface.