-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Description:
I'm using the jasper-beta version. The dashboard and logs do not show any traffic usage statistics for peers.
However, when using the vidar image, transfer metrics are displayed correctly.
Request:
Could you please take a look and check if traffic accounting is missing or broken in jasper-beta?
Additional Question:
Since I plan to use WireGate with AmneziaWG long-term, could you please recommend:
Which container/image is the most stable and supported for production use with AmneziaWG?
Is there a recommended docker-compose configuration?
Below is my current working configuration that works with vidar image and Amnezia:
Click to expand config
services:
wiregate:
image: noxcis/wiregate:vidar
container_name: wiregate
hostname: wiregate
restart: unless-stopped
cap_add:
- NET_ADMIN
- SYS_MODULE
devices:
- /dev/net/tun:/dev/net/tun
volumes:
- /lib/modules:/lib/modules:ro
- ./pf_conf:/WireGate/iptable-rules/
- ./conf:/etc/wireguard
- ./db:/WireGate/db
- ./configs/dnscrypt:/WireGate/dnscrypt
- ./configs/tor:/etc/tor/
- ./configs/logs:/WireGate/log/
- ./configs/master-key:/WireGate/master-key
environment:
- AMNEZIA_WG=true
# Tor obfuscation settings
- WGD_TOR_PROXY=true
- WGD_TOR_EXIT_NODES={ch}
- WGD_TOR_DNS_EXIT_NODES={us}
- WGD_TOR_BRIDGES=true
- WGD_TOR_PLUGIN=snowflake
# Dashboard & auth
- WGD_WELCOME_SESSION=false
- WGD_AUTH_REQ=true
- WGD_USER=admin
- WGD_PASS=admin
# Network
- WGD_REMOTE_ENDPOINT=your.domain.com
- WGD_REMOTE_ENDPOINT_PORT=80
- WGD_PEER_ENDPOINT_ALLOWED_IP=0.0.0.0/0, ::/0
- WGD_KEEP_ALIVE=21
- WGD_MTU=1420
- WGD_PORT_RANGE_STARTPORT=4430
# DNS
- WGD_DNS=1.1.1.1
- WGD_IPTABLES_DNS=1.1.1.1
ports:
- "4430-4433:4430-4433/udp"
- "51822-51825:51822-51825/udp"
- "8800:80/tcp"
sysctls:
- net.ipv4.ip_forward=1
- net.ipv4.conf.all.src_valid_mark=1
- net.ipv6.conf.all.forwarding=1
- net.ipv6.conf.default.forwarding=1
Is there anything I could improve, simplify, or remove from this configuration?