Add server configuration editing with byte preservation
This commit is contained in:
+22
@@ -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
|
||||
Reference in New Issue
Block a user