[SOLVED] Problem Proxmox bind only on Port IPv6 :8006

news

Active Member
Sep 14, 2022
403
32
28
Germany
Hallo Forum,

gab es nicht mal einen Work around, wenn Proxmox
pve-manager/8.2.4/faa83925c9641325 (running kernel: 6.8.8-2-pve)
sich nur an IPv6 :8006, er muss auch noch über IPv4 8006 erreichbar sein.

Durch eine apt dist-upgrade -y muss da etwas heute verändert worden sein.

Gibt es Ideen?
 
Hallo Forum,

gab es nicht mal einen Work around, wenn Proxmox
pve-manager/8.2.4/faa83925c9641325 (running kernel: 6.8.8-2-pve)
sich nur an IPv6 :8006, er muss auch noch über IPv4 8006 erreichbar sein.

Durch eine apt dist-upgrade -y muss da etwas heute verändert worden sein.

Gibt es Ideen?
Hi news,

Schau mal hier nach:

Code:
/etc/default/pveproxy

Folgende Zeile muss wie folgt Konfiguriert sein:

Code:
PVE_PROXY_OPTS="--ipv4 --ipv6"
 
Hi news,

Schau mal hier nach:

Code:
/etc/default/pveproxy

Folgende Zeile muss wie folgt Konfiguriert sein:

Code:
PVE_PROXY_OPTS="--ipv4 --ipv6"
Danke,
/etc/default/pveproxy ist schon mal gar nicht da.
Sehr eigenartig. Auch meine Backups / snapshots von /etc zeigen keine Einträge.
 
Guten Morgen,

zur Vollständigkeit mein Abschlussbericht.
(Fast) Alles wieder rückgängig gemacht.

Die Datei /etc/default/pveproxy ist wieder ohne Auswirkung auf mein System, da aktuelle keine Einträge aktiv sind.
Code:
# https://pve.proxmox.com/pve-docs/pveproxy.8.html
# https://pve.proxmox.com/wiki/Service_daemons
#
#LISTEN_IP="0.0.0.0,0:0:0:0:0:0:0:0" # don't work
# IPv6
#LISTEN_IP="0:0:0:0:0:0:0:0" # work
# IPv4
#LISTEN_IP="0.0.0.0"
# netstat -lntp | grep 8006
# lsof -i:8006
# systemctl restart pveproxy.service spiceproxy.service

Editiert habe ich noch, nur für mich, die Datei /etc/services und diesen Eintrag ergänzt.
Code:
pveproxy        8006/tcp                        # pveproxy
Aber ich habe wieder etwas dazu gelernt.

Dann habe ich auf meinem Testrechner noch xinetd man(8) man(5) installiert.
Darüber lassen sie Ports an Protokolle tcp/udp und Dienste binden oder man kann ein redirect machen.
Das war mein Test, dazu habe ich diesen Eintrag ergänzt:
Datei: /etc/xinetd.d/pveproxy

Diff:
# redirect to pveproxy over 127.0.0.1:8006
service pveproxy2
{
        type        = UNLISTED
        disable         = yes
        socket_type     = stream
        port            = 7006
        wait            = no
        user        = root
        protocol        = tcp
        only_from       = 192.168.0.0/16
#    only_from    = 172.16.0.0/12
#    only_from    = 10.0.0.0/8
#    bind        = 0.0.0.0
    redirect    = 127.0.0.1 8006
}

Die Nutzung von xinetd eröffnet noch weitere Möglichkeiten der Konfiguration und Abschottung gegenüber der "Welt".
 
Last edited:

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!