может это как-то поможет?
"Wireguard0": {
"id": "Wireguard0",
"index": 0,
"interface-name": "Wireguard0",
"type": "Wireguard",
"description": "WG-S",
"traits": [
"Ip",
"Wireguard"
],
"link": "down",
"connected": "no",
"state": "up",
"mtu": 1280,
"tx-queue-length": 50,
"address": "172.16.82.1",
"mask": "255.255.255.255",
"uptime": 246,
"global": false,
"security-level": "private",
"wireguard": {
"public-key": "4iYxjfTD.............Kbd0o=",
"listen-port": *****,
"status": "up",
"peer": [
{
"public-key": "Cge4g9L.............iuk3AgI=",
"local": "10.195.30.225",
"local-port": *****,
"via": "Wireguard2",
"remote": "172.16.82.7",
"remote-port": 0,
"rxbytes": 39704,
"txbytes": 2556,
"last-handshake": 210,
"online": false
}
]
}
},
"Wireguard2": {
"id": "Wireguard2",
"index": 2,
"interface-name": "Wireguard2",
"type": "Wireguard",
"description": "WARP",
"traits": [
"Ip",
"Wireguard"
],
"link": "up",
"connected": "yes",
"state": "up",
"mtu": 1324,
"tx-queue-length": 50,
"address": "10.195.30.225",
"mask": "255.192.0.0",
"uptime": 2135,
"global": true,
"defaultgw": false,
"priority": 32766,
"security-level": "public",
"wireguard": {
"public-key": "n+wrnC............IwYRiA=",
"listen-port": 4****,
"status": "up",
"peer": [
{
"public-key": "dG0Ss......../gNk8=",
"local": "8*.***.***.**2",
"local-port": 4****,
"via": "PPPoE0",
"remote": "1**.***.***.**0",
"remote-port": 6****,
"rxbytes": 17159964,
"txbytes": 604356,
"last-handshake": 120,
"online": true
}
]
}
}
},
"prompt": "(config)"
}