Wordpress Server Setup, Part IV

WG-Easy

Admin UI

The admin page http://172.100.156.100:51821/ is accessible via ssh proxy

docker compose config

services:
  wg-easy:
    image: ghcr.io/wg-easy/wg-easy 
    container_name: wg-easy
    environment:
      - LANG=en 
      - WG_HOST=172.100.156.253
      - PASSWORD_HASH=[hashed secret]
      - PORT=51821
      - WG_PORT=51820
      - WG_DEFAULT_DNS=1.1.1.1
      - WG_ALLOWED_IPS=0.0.0.0/0
      - WG_DEFAULT_ADDRESS=10.13.156.x
    volumes:
      - ./config:/etc/wireguard 
    networks:
      priv-lan:
        ipv4_address: 172.100.156.100     
    ports:
      - 51820:51820/udp 
      - 51821:51821/tcp 
    cap_add:
      - NET_ADMIN
      - SYS_MODULE
    sysctls:
      - net.ipv4.conf.all.src_valid_mark=1
      - net.ipv4.ip_forward=1
    restart: unless-stopped

networks:
  priv-lan:
    name: docker-net
    external: true

This page was last edited on 2025-03-01 15:34

Powered by Wiki|Docs

This page was last edited on 2025-03-01 15:34

Mac
To whom it may concern

Powered by Wiki|Docs