1# SPDX-License-Identifier: LGPL-2.1-or-later
2[NetDev]
3Name=wg99
4Kind=wireguard
5
6[WireGuard]
7ListenPort=51820
8FwMark=1234
9# settings below are ignored.
10RouteTable=off
11RouteMetric=456
12
13[WireGuardPeer]
14PublicKey=RDf+LSpeEre7YEIKaxg+wbpsNV7du+ktR99uBEtIiCA=
15AllowedIPs=fd31:bf08:57cb::/48,192.168.26.3/24
16#Endpoint=wireguard.example.com:51820
17Endpoint=192.168.27.3:51820
18PresharedKey=IIWIV17wutHv7t4cR6pOT91z6NSz/T8Arh0yaywhw3M=
19PersistentKeepalive=20
20RouteTable=1234
21RouteMetric=123
22