aboutsummaryrefslogtreecommitdiff
path: root/agent/src/main/resources/wg.conf.ftlh
blob: cc51ede7801db3a36f45b7ec6dbd193f76cd2a05 (plain)
1
2
3
4
5
6
7
8
9
10
11
[Interface]
ListenPort = ${listen_port?long?c}
PrivateKey = ${self_priv_key}

[Peer]
PublicKey = ${peer_pub_key}
PresharedKey = ${preshared_key}
<#if endpoint??>
Endpoint = ${endpoint}
</#if>
AllowedIPs = 0.0.0.0/0, ::/0