aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/linuxserver/example_config/wg0.conf
diff options
context:
space:
mode:
Diffstat (limited to 'test/linuxserver/example_config/wg0.conf')
-rw-r--r--test/linuxserver/example_config/wg0.conf25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/linuxserver/example_config/wg0.conf b/test/linuxserver/example_config/wg0.conf
new file mode 100644
index 0000000..48954e2
--- /dev/null
+++ b/test/linuxserver/example_config/wg0.conf
@@ -0,0 +1,25 @@
+[Interface]
+Address = 10.13.13.1
+ListenPort = 51820
+PrivateKey = 8PudiDNyChBnnwRfx21a1qjvCGu1U1H+em9xbepCPXo=
+PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -A FORWARD -o %i -j ACCEPT; iptables -t nat -A POSTROUTING -o eth+ -j MASQUERADE
+PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -D FORWARD -o %i -j ACCEPT; iptables -t nat -D POSTROUTING -o eth+ -j MASQUERADE
+
+[Peer]
+# peer1
+PublicKey = 5K7R+QjsV7nCtDbBMJlujiFuU0Y22VGmg+furfYKCRA=
+PresharedKey = t6OE7dlyynev/QEiPmvQ9YxRew/jTyiKCqGDNWeMCFU=
+AllowedIPs = 10.13.13.2/32
+
+[Peer]
+# peer2
+PublicKey = cUgCQRZpnqKvLd/XcKbGP2kItCWAt+8L475MUMCOTWk=
+PresharedKey = f386wjXiWLbMMhgI2OZYb/sRSh7oxcDnpeddIqqbmxU=
+AllowedIPs = 10.13.13.3/32
+
+[Peer]
+# peer3
+PublicKey = Nf+DkYmYWtpCC5IPVqorUqHRbxiFaHrrTV8YR4whwAo=
+PresharedKey = RISZI5HXufwn2ABJNasT+PjKS+uZ530jlspWJjCpvSk=
+AllowedIPs = 10.13.13.4/32
+