Add server configuration editing with byte preservation

This commit is contained in:
2026-10-18 22:34:01 +03:00
parent c2b899dd1e
commit 766059e6d1
11 changed files with 2521 additions and 19 deletions
+22
View File
@@ -0,0 +1,22 @@
# Synthetic server configuration for byte-preservation tests.
[Interface]
PrivateKey = SYNTHETIC-PLACEHOLDER-INTERFACE-PRIVATE-KEY
Address = 10.44.0.1/24, fd42::1/64
ListenPort = 51820
PostUp = iptables -A FORWARD -i wg0 -j ACCEPT
UnknownInterfaceDirective = keep exactly = this
# Admin note: retained between interface and peer.
[Peer]
PublicKey = AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
AllowedIPs = 10.44.0.2/32
PresharedKey = SYNTHETIC-PLACEHOLDER-PEER-PSK-A
PersistentKeepalive = 25
CustomPeerOption = keep-me
# Another administrator note.
[Peer]
PublicKey = AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQE=
AllowedIPs = 10.44.0.3/32, fd42::3/128
PresharedKey = SYNTHETIC-PLACEHOLDER-PEER-PSK-B
CustomPeerOption = also-keep-me