mirror of
https://github.com/rosenpass/rosenpass.git
synced 2025-12-12 07:40:30 -08:00
more state dumping for debugging
This commit is contained in:
@@ -531,6 +531,18 @@ in
|
||||
peerC.wait_for_unit("rp-key-sync-CB.service")
|
||||
''}
|
||||
|
||||
# Dump current state of WireGuard tunnels
|
||||
peerA.succeed("wg show all 1>&2")
|
||||
peerB.succeed("wg show all 1>&2")
|
||||
${lib.optionalString multiPeer ''
|
||||
peerC.succeed("wg show all 1>&2")
|
||||
''}
|
||||
peerA.succeed("wg show all preshared-keys 1>&2")
|
||||
peerB.succeed("wg show all preshared-keys 1>&2")
|
||||
${lib.optionalString multiPeer ''
|
||||
peerC.succeed("wg show all preshared-keys 1>&2")
|
||||
''}
|
||||
|
||||
# Voila!
|
||||
peerA.succeed("ping -c 1 ${staticConfig.peerB.innerIp}")
|
||||
peerB.succeed("ping -c 1 ${staticConfig.peerA.innerIp}")
|
||||
|
||||
Reference in New Issue
Block a user