2022-03-11 10:44:19 +00:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"toNodes": ["ship1","ship2"],
|
2024-11-19 02:48:42 +00:00
|
|
|
"method": "cliCommand",
|
2022-03-11 10:44:19 +00:00
|
|
|
"methodArgs": [
|
|
|
|
"bash",
|
|
|
|
"-c",
|
|
|
|
"cat /etc/hostname && systemd-resolve --flush-caches &&wg-quick down wg0 && sleep 2 && wg-quick up wg0"
|
|
|
|
],
|
2024-11-19 02:48:42 +00:00
|
|
|
"replyMethod": "file",
|
2022-03-11 10:44:19 +00:00
|
|
|
"ACKTimeout": 20,
|
|
|
|
"retries": 3,
|
|
|
|
"replyACKTimeout": 20,
|
|
|
|
"replyRetries": 3,
|
|
|
|
"methodTimeout": 20,
|
|
|
|
"replyMethodTimeout": 120,
|
|
|
|
"directory": "system/wireguard",
|
|
|
|
"fileName": "wireguard-down-up.log",
|
|
|
|
"relayViaNode": "central",
|
2024-11-19 02:48:42 +00:00
|
|
|
"relayReplyMethod": "console"
|
2022-03-11 10:44:19 +00:00
|
|
|
}
|
|
|
|
]
|