noxcis/wiregate

By noxcis

Updated about 4 hours ago

WireGate Docker Image with optional AmneziaWG and Tor integration. Super Fast Staitic Compile

Image
Networking
Security
Web Servers

1.5K

Docker Environment Variables for WireGuard & AmneziaWG Configuration

This file explains the configuration settings for the Docker container. Adjust these environment variables as needed.

Environment Variables

VariableDescriptionDefault / Example
AMNEZIA_WGEnables AmneziaWG for obfuscating WireGuard connections.true
TZSpecifies the container’s timezone.America/Chicago

Tor Settings
VariableDescriptionDefault / Example
WGD_TOR_PROXYEnables the Tor proxy for WireGuard connections.true
WGD_TOR_EXIT_NODESSpecifies the Tor exit node country code.{ch} for Switzerland
WGD_TOR_DNS_EXIT_NODESSets the country code for DNS exit nodes.{gb} for United Kingdom
WGD_TOR_PLUGINSpecifies the Tor plugin type. Options: webtunnel, obfs4, snowflake.obfs4
WGD_TOR_BRIDGESEnables Tor bridges to bypass censorship.true

WGDashboard Global Settings
VariableDescriptionDefault / Example
WGD_WELCOME_SESSIONEnables or disables the welcome session.false
WGD_AUTH_REQSpecifies if authentication is required for access.false
WGD_USERSets the WGDashboard username.admin
WGD_PASSSets the WGDashboard password.admin
WGD_REMOTE_ENDPOINTDefines the remote endpoint IP address.0.0.0.0
WGD_REMOTE_ENDPOINT_PORTSets the port for the remote endpoint.80
WGD_PEER_ENDPOINT_ALLOWED_IPConfigures the allowed IP range for peer connections.0.0.0.0/0
WGD_KEEP_ALIVESets the keep-alive interval in seconds.21
WGD_MTUSets the Maximum Transmission Unit (MTU) size.1420
WGD_PORT_RANGE_STARTPORTSpecifies the starting port for the WireGuard connection.4430

DNS Settings

DNS Variable settings must match each other.

VariableDescriptionDefault / Example
WGD_DNSSets DNS server IPs for WireGuard.1.1.1.1
WGD_IPTABLES_DNSSpecifies the DNS server IP for iptables.1.1.1.1


Notes
  • Adjust the above variables to match your setup and privacy preferences.
  • Make sure all parameters in the "Obfuscation Settings" section match on both the client and server, except WGD_JC which can vary.

Docker Pull Command

docker pull noxcis/wiregate