fix(ipsec): показывать подключённых клиентов и адрес mode-config
This commit is contained in:
1 parent
f80d9b7637
commit
b9a8615b8b
8 files changed
+204
-14
No files matched your search
@@ -0,0 +1,131 @@
|
||||
{
|
||||
"date": "2026-10-09",
|
||||
"name": "mm-ipsec78-1791533486215",
|
||||
"observations": [
|
||||
{
|
||||
"serverId": 1,
|
||||
"identities": [
|
||||
{
|
||||
"peer": "mm-ipsec78-1791533486215",
|
||||
"remote-id": "key-id:mm-ipsec78-1791533486215",
|
||||
"auth-method": "pre-shared-key"
|
||||
}
|
||||
],
|
||||
"active": [
|
||||
{
|
||||
"keys": [
|
||||
".id",
|
||||
"comment",
|
||||
"dynamic-address",
|
||||
"id",
|
||||
"last-seen",
|
||||
"local-address",
|
||||
"natt-peer",
|
||||
"ph2-total",
|
||||
"port",
|
||||
"ppk",
|
||||
"remote-address",
|
||||
"responder",
|
||||
"rx-bytes",
|
||||
"rx-packets",
|
||||
"side",
|
||||
"spii",
|
||||
"spir",
|
||||
"state",
|
||||
"tx-bytes",
|
||||
"tx-packets",
|
||||
"uptime"
|
||||
],
|
||||
".id": "*1",
|
||||
"id": "mm-ipsec78-1791533486215",
|
||||
"state": "established",
|
||||
"remote-address": "104.165.244.7",
|
||||
"dynamic-address": "198.18.78.10",
|
||||
"uptime": "0s",
|
||||
"side": "responder"
|
||||
}
|
||||
],
|
||||
"catalog": [
|
||||
{
|
||||
"name": "mm-ipsec78-1791533486215",
|
||||
"remoteId": "key-id:mm-ipsec78-1791533486215",
|
||||
"online": true,
|
||||
"activeAddress": "198.18.78.10",
|
||||
"activeSince": "0s"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"serverId": 2,
|
||||
"identities": [
|
||||
{
|
||||
"peer": "mm-ipsec78-1791533486215",
|
||||
"my-id": "key-id:mm-ipsec78-1791533486215",
|
||||
"auth-method": "pre-shared-key"
|
||||
}
|
||||
],
|
||||
"active": [
|
||||
{
|
||||
"keys": [
|
||||
".id",
|
||||
"comment",
|
||||
"id",
|
||||
"last-seen",
|
||||
"local-address",
|
||||
"natt-peer",
|
||||
"ph2-total",
|
||||
"port",
|
||||
"ppk",
|
||||
"remote-address",
|
||||
"responder",
|
||||
"rx-bytes",
|
||||
"rx-packets",
|
||||
"side",
|
||||
"spii",
|
||||
"spir",
|
||||
"state",
|
||||
"tx-bytes",
|
||||
"tx-packets",
|
||||
"uptime"
|
||||
],
|
||||
".id": "*1",
|
||||
"id": "194.226.121.150",
|
||||
"state": "established",
|
||||
"remote-address": "194.226.121.150",
|
||||
"uptime": "0s",
|
||||
"side": "initiator"
|
||||
}
|
||||
],
|
||||
"catalog": [
|
||||
{
|
||||
"name": "mm-ipsec78-1791533486215",
|
||||
"online": false
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"cleanup": [
|
||||
{
|
||||
"serverId": 1,
|
||||
"/ip/ipsec/identity": true,
|
||||
"/ip/ipsec/peer": true,
|
||||
"/ip/ipsec/policy": true,
|
||||
"/ip/ipsec/policy/group": true,
|
||||
"/ip/ipsec/mode-config": true,
|
||||
"/ip/pool": true,
|
||||
"/ip/ipsec/proposal": true,
|
||||
"/ip/ipsec/profile": true
|
||||
},
|
||||
{
|
||||
"serverId": 2,
|
||||
"/ip/ipsec/identity": true,
|
||||
"/ip/ipsec/peer": true,
|
||||
"/ip/ipsec/policy": true,
|
||||
"/ip/ipsec/policy/group": true,
|
||||
"/ip/ipsec/mode-config": true,
|
||||
"/ip/pool": true,
|
||||
"/ip/ipsec/proposal": true,
|
||||
"/ip/ipsec/profile": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user