Files
infix/test/case/interfaces/wireguard_roadwarrior/topology.dot
T
Mattias Walström 7e5da21cf6 Add support for WireGuard
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:/>
2026-01-09 11:11:32 +01:00

53 lines
2.1 KiB
Plaintext

graph "roadwarrior" {
layout="neato";
overlap=false;
esep="+20";
splines=true;
node [shape=record, fontname="DejaVu Sans Mono, Book"];
edge [color="cornflowerblue", penwidth="2", fontname="DejaVu Serif, Book"];
host [
label="{ <mgmt1> mgmt1 | <data> data } | host | { <mgmt2> mgmt2 } | { <data2> data2 | <mgmt3> mgmt3 | <data1> data1 | <mgmt4> mgmt4 }",
pos="200,250!",
requires="controller",
];
server [
label="{ <data> data | <mgmt> mgmt } | { server | 192.168.100.1 } | <wan> wan",
pos="50,150!",
requires="infix",
];
router [
label="<wan> wan | { <mgmt> mgmt | router | (internet) } | { <lan1> lan1 | <lan2> lan2 }",
pos="200,150!",
requires="infix",
];
client1 [
label="<link> link | { <data> data | <mgmt> mgmt } | { client1 | 192.168.50.2 }",
pos="325,175!",
requires="infix",
];
client2 [
label="<link> link | { <mgmt> mgmt | <data> data } | { client2 | 192.168.51.2 }",
pos="325,125!",
requires="infix",
];
host:mgmt1 -- server:mgmt [requires="mgmt", color="lightgray"];
host:mgmt2 -- router:mgmt [requires="mgmt", color="lightgray"];
host:mgmt3 -- client1:mgmt [requires="mgmt", color="lightgray"];
host:mgmt4 -- client2:mgmt [requires="mgmt", color="lightgray"];
server:wan -- router:wan [label="192.168.100.0/24", headlabel=".2", taillabel=".1", fontcolor="black", color="black"];
router:lan1 -- client1:link [label="192.168.50.0/24", headlabel=".2", taillabel=".1", fontcolor="black", color="black"];
router:lan2 -- client2:link [label="192.168.51.0/24", headlabel=".2", taillabel=".1", fontcolor="black", color="black"];
host:data -- server:data [headlabel=".1", label="192.168.0.0/24", taillabel=".2", labeldistance=1, fontcolor="black", color="black"];
host:data1 -- client1:data [headlabel=".1", label="192.168.1.0/24", taillabel=".2", labeldistance=1, fontcolor="black", color="black"];
host:data2 -- client2:data [headlabel=".1", label="192.168.2.0/24", taillabel=".2", labeldistance=1, fontcolor="black", color="black"];
}