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

Connection does not work #10

Closed
FreshImmuc opened this issue May 27, 2024 · 2 comments
Closed

Connection does not work #10

FreshImmuc opened this issue May 27, 2024 · 2 comments

Comments

@FreshImmuc
Copy link

Hello,
I am using the docker compose version and everything worked perfectly during the installation.
The clients do not have internet access though.

The connection from client to wireguard works ✔
The connection from wireguard to Adguard works ✔
But no Internet connection ❌

Is there a fix to this? What could be the problem?

@FreshImmuc
Copy link
Author

Probably a duplicate of #9

@FreshImmuc
Copy link
Author

FreshImmuc commented May 27, 2024

Downgrading to version v0.108.0-b.49 fixed the issue and this works perfectly! You can get the same fix by using this modified docker-compose.yml file below that i modified from the main repository Readme. You just have to edit the host and password obviously (WG-EASY Envs):

version: "3.8"

services:
  adwireguard:
    container_name: adwireguard
    # image: ghcr.io/iganeshk/adwireguard-dark:latest
    image: iganesh/adwireguard-dark:v0.108.0-b.49 # changed this to an older version
    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=CHANGEME
      - 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant