Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [Anleitung] WireGuard mit WireGuard-UI auf Proxmox

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    [Anleitung] WireGuard mit WireGuard-UI auf Proxmox

    This topic has been deleted. Only users with topic management privileges can see it.
    • crunchip
      crunchip Forum Testing Most Active @CrunkFX last edited by crunchip

      @crunkfx kurze Verständnisfrage noch
      bei WireguardServer >Adresse der Serverschittstelle< muss da noch etwas eingetragen werden?
      Denn ich bekomme keine Verbindung mit meinem Handy.
      Alles soweit durchgelaufen, App am Handy läuft und auch die Portweiterleitung ist im Unifi Controller eingetragen.

      EDIT
      ich hab die ganze Zeit gewartet das hier etwas angezeigt wird, tut es aber nicht, auch nicht nach einem kompletten Neustart
      5ac04860-0a0f-4a5a-ab14-4201a7319527-grafik.png

      aber die Verbindung steht, bzw ich komm in mein Netz👍

      mal sehen wie es sich verhält, wenn man in ein Funkloch gerät, ob sich die Verbindung abschaltet, bzw wenn man switcht zwischen zweier Sim Karten.

      CrunkFX 1 Reply Last reply Reply Quote 0
      • Negalein
        Negalein Global Moderator @CrunkFX last edited by

        @crunkfx sagte in [Anleitung] WireGuard mit WireGuard-UI auf Proxmox:

        alternativ als Datei zum Download für Desktoprechner

        da steh ich jetzt an.
        Hätt es gerade auf Win10 eingerichtet.

        Welchen VPN-Typ benötige ich da?
        86b00091-4ec5-4521-aeeb-722e2b343d59-image.png

        Und unter Anmeldeinformationstyp?
        6b7e517f-a27b-42fa-95ff-fdc1225f4c10-image.png

        Es gibt leider keine Möglichkeit in Win10 die .conf zu importieren.

        dslraser 1 Reply Last reply Reply Quote 0
        • dslraser
          dslraser Forum Testing Most Active @Negalein last edited by

          @negalein
          Braucht man da nicht das hier ?

          https://www.wireguard.com/install/

          Negalein 1 Reply Last reply Reply Quote 1
          • Negalein
            Negalein Global Moderator last edited by Negalein

            @CrunkFX

            beim Import am Handy (oder auch QR-Scan) schreibt er ungültiger Name.

            Wäre hier IP 10.0.1.1/24 richtig?
            10.0.1.x ist mein internes Netz.

            Ist aber bis auf Name & IP (hier soll der gesamte IP-Bereich gelten) alles gleich.
            Wireguard Clients (1).png

            CrunkFX Negalein 2 Replies Last reply Reply Quote 0
            • Negalein
              Negalein Global Moderator @dslraser last edited by

              @dslraser sagte in [Anleitung] WireGuard mit WireGuard-UI auf Proxmox:

              Braucht man da nicht das hier ?

              Ah, da hab ich nicht geschaut.
              Danke

              1 Reply Last reply Reply Quote 0
              • CrunkFX
                CrunkFX Forum Testing @Negalein last edited by

                @negalein Nutzt du am Handy auch die WireGuard App?

                Negalein 1 Reply Last reply Reply Quote 0
                • Negalein
                  Negalein Global Moderator @CrunkFX last edited by

                  @crunkfx sagte in [Anleitung] WireGuard mit WireGuard-UI auf Proxmox:

                  Nutzt du am Handy auch die WireGuard App?

                  Ja

                  1 Reply Last reply Reply Quote 0
                  • CrunkFX
                    CrunkFX Forum Testing @crunchip last edited by

                    @crunchip sagte in [Anleitung] WireGuard mit WireGuard-UI auf Proxmox:

                    bei WireguardServer >Adresse der Serverschittstelle< muss da noch etwas eingetragen werden?

                    Kannst du mir bei Zeiten Mal zeigen was du meinst? Bei mir gibst keinen Punkt der Adresse der Serverschnittstelle heißt.

                    LG

                    crunchip 1 Reply Last reply Reply Quote 0
                    • crunchip
                      crunchip Forum Testing Most Active @CrunkFX last edited by crunchip

                      @crunkfx meinte hier
                      6d847f20-9ea1-4a36-aa85-fcb28402dedb-grafik.png

                      hatte ja oben schon gefragt...ist das normal, dass bei Status nichts angezeigt wird, oder ist das nur bei mir so?

                      Kalle Blomquist CrunkFX 2 Replies Last reply Reply Quote 0
                      • Kalle Blomquist
                        Kalle Blomquist @crunchip last edited by Kalle Blomquist

                        @crunchip ist bei mir auch so
                        wireg.JPG

                        Allerdings funktioniert es bei mir auch nicht. Komme mit Openvpn besser klar.
                        Habe Wireguard schon x mal installiert, keine Chance. Vielleicht liegt´s auch an der USG (doppeltes NAT?)oder an meinem Unvermögen.

                        Schade, finde die GUI eigentlich ganz praktisch.

                        crunchip L 2 Replies Last reply Reply Quote 0
                        • crunchip
                          crunchip Forum Testing Most Active @Kalle Blomquist last edited by

                          @kalle-blomquist sagte in [Anleitung] WireGuard mit WireGuard-UI auf Proxmox:

                          Allerdings funktioniert es bei mir auch nicht

                          bei mir funktioniert es

                          @kalle-blomquist sagte in [Anleitung] WireGuard mit WireGuard-UI auf Proxmox:

                          (doppeltes NAT?)

                          hab ich nicht, bei mir hängt die Fritte dahinter

                          @kalle-blomquist sagte in [Anleitung] WireGuard mit WireGuard-UI auf Proxmox:

                          Komme mit Openvpn besser klar.

                          na wenn das funktioniert muss auch Wireguard laufen

                          1 Reply Last reply Reply Quote 0
                          • CrunkFX
                            CrunkFX Forum Testing @crunchip last edited by

                            @crunchip Ich habe einen Fehler in der Konfiguration entdeckt und in v1.0.1 behoben.

                            !!!AN ALLE DIE BEREITS EINEN CONTAINER NACH DIESER ANLEITUNG INSTALLIERT HABEN!!!
                            es hat sich leider natürlich ein Fehler in die Konfig geschlichen. Um nicht alles neu machen zu müssen führt bitte die Befehle nacheinander aus:

                            rm /root/50-unattended-upgrades && rm /root/docker-compose.yml && rm /root/wgui.path && rm /root/wgui.service && wg-quick down wg0 && wg-quick up wg0
                            
                            wget https://raw.githubusercontent.com/KleSecGmbH/ioBroker/main/wireguard/installer-pve.sh -O installer-pve.sh && bash installer-pve.sh
                            

                            Der Installer wird beim Update einen Error raushauen. Das ist OK

                            Ab hier könnt ihr alles nutzen. Wer den Fehler mit den verbundenen Sitzungen weghaben möchte, muss noch folgendes tun:

                            cd /root/wireguard-ui
                            
                            docker-compose up
                            

                            und in der folgenden Error Nachricht die Container ID kopieren. (ohne "")
                            Und in dem nachfolgenden Befehl CONTAINERID durch die eben kopierte ID ersetzen

                            docker stop CONTAINERID
                            
                            docker system prune -a
                            
                            docker-compose up -d
                            

                            Sorry für den extraaufwand😰

                            crunchip Negalein 4 Replies Last reply Reply Quote 0
                            • crunchip
                              crunchip Forum Testing Most Active @CrunkFX last edited by

                              @crunkfx sagte in [Anleitung] WireGuard mit WireGuard-UI auf Proxmox:

                              rm /root/50-unattended-upgrades && rm /root/docker-compose.yml && rm /root/wgui.path && rm /root/wgui.service && wg-quick down wg0 && wg-quick up wg0

                              root@Wireguard:~# rm /root/50-unattended-upgrades && rm /root/docker-compose.yml && rm /root/wgui.path && rm /root/wgui.service && wg-quick down wg0 && wg-quick up wg0
                              [#] ip link delete dev wg0
                              [#] iptables -D FORWARD -i wg0 -j ACCEPT; iptables -D FORWARD -o wg0 -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE
                              [#] ip link add wg0 type wireguard
                              Error: Unknown device type.
                              [#] ip link delete dev wg0
                              Cannot find device "wg0"
                              

                              ist das so richtig?

                              CrunkFX 2 Replies Last reply Reply Quote 0
                              • CrunkFX
                                CrunkFX Forum Testing @crunchip last edited by

                                @crunchip Ja, ist ok

                                1 Reply Last reply Reply Quote 1
                                • CrunkFX
                                  CrunkFX Forum Testing @crunchip last edited by

                                  @crunchip sagte in [Anleitung] WireGuard mit WireGuard-UI auf Proxmox:

                                  [#] ip link add wg0 type wireguard Error: Unknown device type

                                  Lass den Installer nochmal durchlaufen und wenn du alles fertig hast gibst du in der konsole

                                  wg
                                  

                                  ein. Dann schick mir bitte den output davon.

                                  1 Reply Last reply Reply Quote 0
                                  • crunchip
                                    crunchip Forum Testing Most Active @CrunkFX last edited by

                                    @crunkfx sagte in [Anleitung] WireGuard mit WireGuard-UI auf Proxmox:

                                    docker-compose up

                                    jetzt häng ich aber, hab ich da jetzt was falsch verstanden?

                                    WireGuard is already installed.
                                    
                                    Select an option:
                                       1) Add a new client
                                       2) Remove an existing client
                                       3) Remove WireGuard
                                       4) Exit
                                    Option: 4
                                    root@Wireguard:~# cd /root/wireguard-ui
                                    root@Wireguard:~/wireguard-ui# docker-compose up
                                    Creating wgui ... error
                                    
                                    ERROR: for wgui  Cannot create container for service wg: Conflict. The container name "/wgui" is already in use by container "05b40563dadd935f25920e16d25c798d29dee42764fcaf9474fc6b0b129fce73". You have to remove (or rename) that container to be able to reuse that name.
                                    
                                    ERROR: for wg  Cannot create container for service wg: Conflict. The container name "/wgui" is already in use by container "05b40563dadd935f25920e16d25c798d29dee42764fcaf9474fc6b0b129fce73". You have to remove (or rename) that container to be able to reuse that name.
                                    ERROR: Encountered errors while bringing up the project.
                                    root@Wireguard:~/wireguard-ui# 
                                    
                                    CrunkFX 1 Reply Last reply Reply Quote 0
                                    • CrunkFX
                                      CrunkFX Forum Testing @crunchip last edited by CrunkFX

                                      @crunchip Schau mal was ich unter den Befehl geschrieben habe

                                      https://forum.iobroker.net/topic/49177/anleitung-wireguard-mit-wireguard-ui-auf-proxmox/27?_=1636392854750#:~:text=und in der folgenden Error Nachricht die Container ID kopieren. (ohne "")

                                      1 Reply Last reply Reply Quote 0
                                      • Negalein
                                        Negalein Global Moderator @CrunkFX last edited by

                                        @crunkfx sagte in [Anleitung] WireGuard mit WireGuard-UI auf Proxmox:

                                        wget https://raw.githubusercontent.com/KleSecGmbH/ioBroker/main/wireguard/installer-pve.sh -O installer-pve.sh && bash installer-pve.sh

                                        das passt so?

                                        WireGuard is already installed.
                                        
                                        Select an option:
                                           1) Add a new client
                                           2) Remove an existing client
                                           3) Remove WireGuard
                                           4) Exit
                                        Option: 4
                                        

                                        und dann

                                        root@Wireguard-VPN:~# cd /root/wireguard-ui
                                        root@Wireguard-VPN:~/wireguard-ui# docker-compose up
                                        Creating wgui ... error
                                        
                                        ERROR: for wgui  Cannot create container for service wg: Conflict. The container name "/wgui" is already in use by container "e0fec4ebac7cc702789c13850ce574d71ac7641eef0822170a0ef8e640fdd36d". You have to remove (or rename) that container to be able to reuse that name.
                                        
                                        ERROR: for wg  Cannot create container for service wg: Conflict. The container name "/wgui" is already in use by container "e0fec4ebac7cc702789c13850ce574d71ac7641eef0822170a0ef8e640fdd36d". You have to remove (or rename) that container to be able to reuse that name.
                                        ERROR: Encountered errors while bringing up the project.
                                        root@Wireguard-VPN:~/wireguard-ui# docker stop e0fec4ebac7cc702789c13850ce574d71ac7641eef0822170a0ef8e640fdd36d
                                        e0fec4ebac7cc702789c13850ce574d71ac7641eef0822170a0ef8e640fdd36d
                                        root@Wireguard-VPN:~/wireguard-ui# docker system prune -a
                                        WARNING! This will remove:
                                          - all stopped containers
                                          - all networks not used by at least one container
                                          - all images without at least one container associated to them
                                          - all build cache
                                        
                                        Are you sure you want to continue? [y/N] y
                                        Deleted Containers:
                                        e0fec4ebac7cc702789c13850ce574d71ac7641eef0822170a0ef8e640fdd36d
                                        
                                        Deleted Networks:
                                        root_default
                                        
                                        Deleted Images:
                                        untagged: ngoduykhanh/wireguard-ui:latest
                                        untagged: ngoduykhanh/wireguard-ui@sha256:6f9a448d59a8d1caa73d3f4285ed8d257e1e55e179167e8ed630aea57592ad33
                                        deleted: sha256:4db588911bec98259b309558c77f106992814e6c2025d3ef4f7651a93e124008
                                        deleted: sha256:ce0601e1deda628bdbd314b66f98988398e206859d36237e10b9086cfaa31d3d
                                        deleted: sha256:6e4d16753cb5c6debe89482b1dd5f60eb3c8b4f09ffadb39b9a0a69e99b0cd25
                                        deleted: sha256:a364fcb7bc7d58162843c941803d87acc3571b038c1faef7431e6055741511bb
                                        deleted: sha256:4d93b92cf1a9a6f74075fe749df60271bd6b71fe991b6df6ca22e984a9244d5a
                                        deleted: sha256:14d0173ae5d18cffb7f01aab806a6edfbdf7b22a75b8a77f68db0ca6e84d4d23
                                        deleted: sha256:7e630ca8e05efa3aeae00e8fd435735fa62e8992d8ee3d2ca793468e2f36fd28
                                        deleted: sha256:9a5d14f9f5503e55088666beef7e85a8d9625d4fa7418e2fe269e9c54bcb853c
                                        
                                        Total reclaimed space: 48.83MB
                                        root@Wireguard-VPN:~/wireguard-ui# docker-compose up -d
                                        Pulling wg (ngoduykhanh/wireguard-ui:latest)...
                                        latest: Pulling from ngoduykhanh/wireguard-ui
                                        ddad3d7c1e96: Pull complete
                                        6469142f90ff: Pull complete
                                        700aafca4b83: Pull complete
                                        6849e6313309: Pull complete
                                        11e88fa8b517: Pull complete
                                        0353d820a55a: Pull complete
                                        3af261a56413: Pull complete
                                        Digest: sha256:6f9a448d59a8d1caa73d3f4285ed8d257e1e55e179167e8ed630aea57592ad33
                                        Status: Downloaded newer image for ngoduykhanh/wireguard-ui:latest
                                        Creating wgui ... done
                                        root@Wireguard-VPN:~/wireguard-ui# 
                                        
                                        CrunkFX 2 Replies Last reply Reply Quote 0
                                        • CrunkFX
                                          CrunkFX Forum Testing @Negalein last edited by

                                          @negalein Jawoll

                                          1 Reply Last reply Reply Quote 1
                                          • CrunkFX
                                            CrunkFX Forum Testing @Negalein last edited by

                                            @negalein Dann müsste bei connected peers was drin stehen f605fe0a-5c63-4902-a61b-0b9f1b02e39e-image.png

                                            Negalein 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            957
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            portforwarding portfreigabe portfreischaltung proxmox vpn wireguard wireguard ios app
                                            64
                                            603
                                            121186
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo