summaryrefslogtreecommitdiffstats
path: root/test/test-network/conf/25-wireguard.netdev
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/test-network/conf/25-wireguard.netdev21
-rw-r--r--test/test-network/conf/25-wireguard.netdev.d/peer.conf5
-rw-r--r--test/test-network/conf/25-wireguard.netdev.d/peer1.conf5
-rw-r--r--test/test-network/conf/25-wireguard.netdev.d/peer2.conf5
-rw-r--r--test/test-network/conf/25-wireguard.netdev.d/private-key.conf2
5 files changed, 38 insertions, 0 deletions
diff --git a/test/test-network/conf/25-wireguard.netdev b/test/test-network/conf/25-wireguard.netdev
new file mode 100644
index 0000000..4fed38e
--- /dev/null
+++ b/test/test-network/conf/25-wireguard.netdev
@@ -0,0 +1,21 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+[NetDev]
+Name=wg99
+Kind=wireguard
+
+[WireGuard]
+ListenPort=51820
+FwMark=1234
+# settings below are ignored.
+RouteTable=off
+RouteMetric=456
+
+[WireGuardPeer]
+PublicKey=RDf+LSpeEre7YEIKaxg+wbpsNV7du+ktR99uBEtIiCA=
+AllowedIPs=fd31:bf08:57cb::/48,192.168.26.3/24
+#Endpoint=wireguard.example.com:51820
+Endpoint=192.168.27.3:51820
+PresharedKey=IIWIV17wutHv7t4cR6pOT91z6NSz/T8Arh0yaywhw3M=
+PersistentKeepalive=20
+RouteTable=1234
+RouteMetric=123
diff --git a/test/test-network/conf/25-wireguard.netdev.d/peer.conf b/test/test-network/conf/25-wireguard.netdev.d/peer.conf
new file mode 100644
index 0000000..f559ea6
--- /dev/null
+++ b/test/test-network/conf/25-wireguard.netdev.d/peer.conf
@@ -0,0 +1,5 @@
+[WireGuardPeer]
+PublicKey=lsDtM3AbjxNlauRKzHEPfgS1Zp7cp/VX5Use/P4PQSc=
+AllowedIPs=fdbc:bae2:7871:0500:e1fe:0793:8636:dad1/128
+AllowedIPs=fdbc:bae2:7871:e1fe:0793:8636::/96
+PresharedKeyFile=/run/systemd/network/25-wireguard-preshared-key.txt
diff --git a/test/test-network/conf/25-wireguard.netdev.d/peer1.conf b/test/test-network/conf/25-wireguard.netdev.d/peer1.conf
new file mode 100644
index 0000000..47848fc
--- /dev/null
+++ b/test/test-network/conf/25-wireguard.netdev.d/peer1.conf
@@ -0,0 +1,5 @@
+[WireGuardPeer]
+PublicKey=TTiCUpCxS7zDn/ax4p5W6Evg41r8hOrnWQw2Sq6Nh10=
+PresharedKey=it7nd33chCT/tKT2ZZWfYyp43Zs+6oif72hexnSNMqA=
+
+AllowedIPs=192.168.124.2
diff --git a/test/test-network/conf/25-wireguard.netdev.d/peer2.conf b/test/test-network/conf/25-wireguard.netdev.d/peer2.conf
new file mode 100644
index 0000000..bf99a5a
--- /dev/null
+++ b/test/test-network/conf/25-wireguard.netdev.d/peer2.conf
@@ -0,0 +1,5 @@
+[WireGuardPeer]
+PublicKey=9uioxkGzjvGjkse3V35I9AhorWfIjBcrf3UPMS0bw2c=
+PresharedKey=6Fsg8XN0DE6aPQgAX4r2oazEYJOGqyHUz3QRH/jCB+I=
+
+AllowedIPs=192.168.124.3
diff --git a/test/test-network/conf/25-wireguard.netdev.d/private-key.conf b/test/test-network/conf/25-wireguard.netdev.d/private-key.conf
new file mode 100644
index 0000000..9b04cf7
--- /dev/null
+++ b/test/test-network/conf/25-wireguard.netdev.d/private-key.conf
@@ -0,0 +1,2 @@
+[WireGuard]
+PrivateKey=EEGlnEPYJV//kbvvIqxKkQwOiS+UENyPncC4bF46ong=