Files
lincodex/deploy/edge/awg/awg-lincodex.edge.conf.template
T

28 lines
856 B
Plaintext

# AmneziaWG, edge side (server 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_EDGE_IP}}/{{AWG_PREFIX}}
ListenPort = {{AWG_PORT}}
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 app host. It initiates from behind NAT, so no Endpoint is set here.
PublicKey = {{AWG_PEER_PUBLIC_KEY}}
# Only the peer's tunnel address: the tunnel never carries other traffic and
# installs no default route.
AllowedIPs = {{AWG_APP_IP}}/32