Skip to content

AdWireGuard is a dark themed AdGuard Home and WireGuard UI (wg-easy) available as a distributable or docker image

License

Notifications You must be signed in to change notification settings

iganeshk/adwireguard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 

Repository files navigation

AdWireGuard

Build AdguardHome Dark Build AdguardHome Dark Build & Docker Workflow

AdWireGuard Screenshot

What?

Docker container housing both AdGuard Home and wg-easy (WireGuard Easy) togther to provide the flexibility of running them at once.

Note: On Android, make sure PrivateDNS is disabled to avoid DNS leaking

What else?

Bleeding edge distributions for wg-easy patched with security/depenedency updates and adguard home with custom dark theme (temporarily disabled)

AdWireGuard

AdGuardHome (Dark)

wg-easy

  • TBA

Docker-Compose AdWireGuard:

version: "3.8"

services:
  adwireguard:
    container_name: adwireguard
    # image: ghcr.io/iganeshk/adwireguard-dark:latest
    image: iganesh/adwireguard-dark:latest
    restart: unless-stopped
    ports:
      - '53:53'           # AdGuardHome DNS Port
      - '3000:3000'       # Default Address AdGuardHome WebUI
      - '853:853'         # DNS-TLS
      - '51820:51820/udp' # wiregaurd port
      - '51821:51821/tcp' # wg-easy webUI
    environment:
        # WG-EASY ENVS
      - WG_HOST= ** HOST-IP **
      - PASSWORD=changeIt
      - WG_PORT=51820
      - WG_DEFAULT_ADDRESS=10.10.11.x
      - WG_DEFAULT_DNS=10.10.10.2
      - WG_MTU=1420
      - WEBUI_HOST=0.0.0.0 # Change this to allow binding to other than 0.0.0.0 port
    volumes:
        # adguard-home volume
      - './adguard/work:/opt/adwireguard/work'
      - './adguard/conf:/opt/adwireguard/conf'
        # wg-easy volume
      - './wireguard:/etc/wireguard'
    cap_add:
      - NET_ADMIN
      - SYS_MODULE
    sysctls:
      - net.ipv4.ip_forward=1
      - net.ipv4.conf.all.src_valid_mark=1
      - net.ipv6.conf.all.disable_ipv6=1    # Disable IPv6
    networks:
      vpn_net:
        ipv4_address: 10.10.10.2

networks:
  vpn_net:
    ipam:
      driver: default
      config:
        - subnet: 10.10.10.0/24

wg-easy Patches

  • Update base image to node18 alpine (holding node20 due to docker build issues for armv6/v7 arch)
  • Updated NodeJS to v18.18.2, bump node dependencies & add ability to adjust WebUI host/port
  • Add Dark mode