# AmneziaWG, app host (client role): /etc/amnezia/amneziawg/{{AWG_IFACE}}.conf # Rendered by deploy/edge/scripts/render.sh from the root-only parameters # file on the host. The rendered file holds the private key: mode 600, # never commit or print it. [Interface] Address = {{AWG_APP_IP}}/{{AWG_PREFIX}} MTU = {{AWG_MTU}} PrivateKey = {{AWG_PRIVATE_KEY}} # Obfuscation parameters. Both ends must carry identical values. Jc = {{AWG_JC}} Jmin = {{AWG_JMIN}} Jmax = {{AWG_JMAX}} S1 = {{AWG_S1}} S2 = {{AWG_S2}} H1 = {{AWG_H1}} H2 = {{AWG_H2}} H3 = {{AWG_H3}} H4 = {{AWG_H4}} [Peer] # The edge proxy. PublicKey = {{AWG_PEER_PUBLIC_KEY}} Endpoint = {{AWG_EDGE_ENDPOINT_IP}}:{{AWG_PORT}} # Only the edge tunnel address. Never 0.0.0.0/0: the host keeps its own # default route and its LAN access. AllowedIPs = {{AWG_EDGE_IP}}/32 # This side sits behind NAT; the keepalive holds the mapping open so the # edge can reach the app host at any time. PersistentKeepalive = {{AWG_KEEPALIVE}}