github.com/noisysockets/noisysockets@v0.21.2-0.20240515114641-7f467e651c90/config/testdata/wg0.conf (about) 1 [Interface] 2 Address = 10.7.0.3 3 ListenPort = 12345 4 PrivateKey = SFN1gntnAutVFefwrPDlM1W2/LGWaRSn2hq06TvL2GY= 5 6 [Peer] 7 # Name = server 8 AllowedIPs = 10.7.0.1 9 Endpoint = 127.0.0.1:12346 10 PublicKey = 6cvvZyj+EVL4DHjUKeVF7EUBfgR2mJO4php2Gdv9FVw= 11 PersistentKeepalive = 25 12 13 [Peer] 14 # Name = gateway 15 AllowedIPs = 0.0.0.0/0 16 Endpoint = 127.0.0.1:12347 17 PublicKey = aVHVSvdp1s9Cmw1r7XJgBSjXsSMpXdsskiuwPVYUdCk= 18 PersistentKeepalive = 25