Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v4.2.0 Road Map #461

Open
19 of 24 tasks
donaldzou opened this issue Nov 8, 2024 · 10 comments · Fixed by #523
Open
19 of 24 tasks

v4.2.0 Road Map #461

donaldzou opened this issue Nov 8, 2024 · 10 comments · Fixed by #523
Labels
Milestone

Comments

@donaldzou
Copy link
Owner

donaldzou commented Nov 8, 2024


  • Add support to OpenBSD and FreeBSD
    • Currently I have the install commands ready for OpenBSD, but it will crash on one of the Python package OpenBSD Support #483

Bugs need to fix

@donaldzou donaldzou added the bug Something isn't working label Nov 8, 2024
@donaldzou donaldzou pinned this issue Nov 8, 2024
@mzs114
Copy link

mzs114 commented Nov 8, 2024

Please consider using some code scanning and security tools like SonarQube, Synk and others. These are free for FLOSS and will help you analyze the code quality.

@donaldzou
Copy link
Owner Author

Please consider using some code scanning and security tools like SonarQube, Synk and others. These are free for FLOSS and will help you analyze the code quality.

Good suggestion, will look into it :)

@DaanSelen
Copy link
Collaborator

DaanSelen commented Nov 9, 2024

Adding ideas.

FIX: #332
FIX: #377
FIX: #446

Adding Documentation: #393
Adding RTS (Real-time statistics) #158
Adding multi-admin: #381
Adding HA: #372
#325

@donaldzou
Copy link
Owner Author

Let me pin them at the top

Adding ideas.

Adding certificate support? #145 Adding email support? #171

Adding per configuration: #208 Adding AmneziaWG? #370

Showing the Peer's actual IP address on the UI: #383 Copy configuration: #322 (with parameters)\

Adding buttons for restarting? #465

@donaldzou donaldzou linked a pull request Nov 24, 2024 that will close this issue
@donaldzou donaldzou added the enhancement New feature or request label Nov 25, 2024
@donaldzou donaldzou added this to the v4.2.0 milestone Nov 25, 2024
@NOXCIS
Copy link
Contributor

NOXCIS commented Dec 8, 2024

@donaldzou @DaanSelen Here, Docker Denviorment For WGDashboard based on Ubuntu. Nothing else needs be changed just put these two files in the repo root and run compose up. AmneziaWG works out of the box.

compose.yaml

services:
  wireguard-dashboard:
    build:
      context: .
      dockerfile: Ubuntu.Dev.Dockerfile
    #image: donaldzou/wgdashboard:latest
    restart: unless-stopped
    container_name: wgdashboard 
    #environment:
      #- tz=                # <--- Set container timezone, default: Europe/Amsterdam.
      #- global_dns=        # <--- Set global DNS address, default: 1.1.1.1.
      #- isolate=           # <--- Set the interfaces that will disallow peer communication, default: 'none'.
      #- public_ip=         # <--- Set public IP to ensure the correct one is chosen, defaulting to the IP give by ifconfig.me.
    ports:
      - 10086:10086/tcp
      - 51820:51820/udp
    volumes:
      - conf:/etc/wireguard
      - data:/data
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun:/dev/net/tun 

volumes:
  conf:
  data:

Ubuntu.Dev.Dockerfile

# Compiler: Build AmneziaWG (Obfuscated Wireguard)
FROM golang:1.23.4-bookworm@sha256:ef30001eeadd12890c7737c26f3be5b3a8479ccdcdc553b999c84879875a27ce AS compiler
WORKDIR /go


RUN apt-get update && apt-get install -y --no-install-recommends \
    git make bash build-essential \
    && apt-get clean && rm -rf /var/lib/apt/lists/*


RUN git clone --depth=1 https://github.com/amnezia-vpn/amneziawg-tools.git && \
    git clone --depth=1 https://github.com/amnezia-vpn/amneziawg-go.git
RUN cd /go/amneziawg-tools/src && make
RUN cd /go/amneziawg-go && \
    go get -u ./... && \
    go mod tidy && \
    make && \
    chmod +x /go/amneziawg-go/amneziawg-go /go/amneziawg-tools/src/wg /go/amneziawg-tools/src/wg-quick/linux.bash
RUN echo "DONE AmneziaWG"


FROM scratch AS bins
COPY --from=compiler /go/amneziawg-go/amneziawg-go /amneziawg-go
COPY --from=compiler /go/amneziawg-tools/src/wg /awg
COPY --from=compiler /go/amneziawg-tools/src/wg-quick/linux.bash /awg-quick




FROM ubuntu:latest
WORKDIR /WGDashboard
ENV TZ=UTC
EXPOSE 10086
COPY ./src /WGDashboard/

RUN apt-get update -y && \
    apt-get upgrade -y && \
    apt-get install wireguard sudo python3 python3-venv python3-pip net-tools -y && \
    apt install iproute2 -y && \
    mkdir -p /etc/amnezia/amneziawg

# Copy AmneziaWG binaries
COPY entrypoint.sh /WGDashboard/entrypoint.sh
COPY --from=bins /amneziawg-go /usr/bin/amneziawg-go
COPY --from=bins /awg /usr/bin/awg
COPY --from=bins /awg-quick /usr/bin/awg-quick

# Install necessary tools and libraries in the final image
RUN chmod +x /WGDashboard/wgd.sh && chmod +x /WGDashboard/entrypoint.sh

RUN if [ ! -c /dev/net/tun ]; then \
    mkdir -p /dev/net && mknod /dev/net/tun c 10 200; \
fi


RUN ./wgd.sh install
# Start the script and keep it alive by tailing the logs
CMD ["/bin/bash", "-c", "/WGDashboard/wgd.sh start && tail -f /dev/null"]


@DaanSelen
Copy link
Collaborator

I dont know how important it will be but is persistency taken care of? Ill make a PR

@DaanSelen
Copy link
Collaborator

Perhaps also: #511

@akhepcat
Copy link

Just upgraded from 4.1.4 to 4.2-dev [3af84e01] and it seems there's a gui timeout that is forcing me out of the configuration interface, even if i've been making changes within the last 30s or so.

I don't see where anything like that is exposed in the GUI, so I'm not sure how to deal with it.

There are no messages in the error or access logs that correspond to the session timing out, nor is journalctl showing the actual service restarting.

@DaanSelen
Copy link
Collaborator

DaanSelen commented Feb 13, 2025

Have you tried clearing the browser cache? I am going to verify if I can reproduce tormorrow UTC.

@akhepcat
Copy link

akhepcat commented Feb 13, 2025

Have you tried clearing the browser cache? I am going to verify if I can reproduce tormorrow UTC.

Yep, cache cleared, cookies cleared, local storage cleared.

Still times out in about 60 seconds after login, either with no user interaction, or while navigating.
** But only while looking at a wg-config - this doesn't happen from the main page

--

FWIW - i'm running this inside a container on proxmox, so nginx is the front-end proxy for the https portion

@donaldzou donaldzou added roadmap and removed bug Something isn't working enhancement New feature or request labels Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants