mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-06 23:43:20 +02:00
Almost full support for WireGuard
admin@server:/> show interface wg0
name : wg0
type : wireguard
index : 10
mtu : 1420
operational status : up
ipv4 addresses : 10.0.0.1/24 (static)
ipv6 addresses : fd00::1/64 (static)
peers : 2
Peer 1:
public key : ROaZyvJc5DzA2XUAAeTj2YlwDsy2w0lr3t+rWj2imAk=
status : UP
endpoint : 192.168.10.2:51821
latest handshake : 2025-12-09T22:51:38+00:00
transfer tx : 1412 bytes
transfer rx : 1324 bytes
Peer 2:
public key : Om9CPLYdK3l93GauKrq5WXo/gbcD+1CeqFpobRLLkB4=
status : UP
endpoint : 2001:db8:3c4d:20::2:51822
latest handshake : 2025-12-09T22:51:38+00:00
transfer tx : 1812 bytes
transfer rx : 428 bytes
in-octets : 1752
out-octets : 3224
admin@server:/>
35 lines
1023 B
Plaintext
35 lines
1023 B
Plaintext
graph "wireguard-basic" {
|
|
layout="neato";
|
|
overlap="false";
|
|
esep="+40";
|
|
|
|
node [shape=record, fontname="DejaVu Sans Mono, Book"];
|
|
edge [color="cornflowerblue", penwidth="2", fontname="DejaVu Serif, Book"];
|
|
|
|
host [
|
|
label="host | { <mgmt1> mgmt1 } | { <data> data } | { <mgmt2> mgmt2 }"
|
|
pos="3,0!",
|
|
requires="controller",
|
|
];
|
|
|
|
left [
|
|
label="{ left } | { <mgmt> mgmt } | { <data> data } | { <link> link }",
|
|
pos="0, -3!",
|
|
|
|
requires="infix",
|
|
];
|
|
|
|
right [
|
|
label="{ <link> link } | { <mgmt> mgmt } | { right }",
|
|
pos="8,-3!",
|
|
|
|
requires="infix",
|
|
];
|
|
|
|
host:mgmt1 -- left:mgmt [requires="mgmt", color="lightgray"]
|
|
host:data -- left:data [headlabel=".1", label="192.168.10.0/24" taillabel=".2 ", labeldistance=1, fontcolor="black", color="black"]
|
|
host:mgmt2 -- right:mgmt [requires="mgmt", color="lightgray"]
|
|
|
|
left:link -- right:link [headlabel=".1\n\n", label="192.168.50.0/24", taillabel="\n.2", labeldistance=1, fontcolor="black", color="black"]
|
|
}
|