The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,862 other subscribers

PlantUML network diagrams

Posted by jpluimers on 2025/12/11

Despite UML (Unified Modelling Language) not having a specific diagram mode for computer networks, PlantUML does support a computer network diagram mode.

Here are some links that got me going to design a site to site VPN situation that I will document in more detail later on this blog.

Interactive PlantUML playground

You can try these diagrams for yourself at the interactive [Wayback/Archive] PlantUML Web Server.

That server is basically the big brother of the tiny editor at [Wayback/Archive] Open-source tool that uses simple textual descriptions to draw beautiful UML diagrams..

You can also use [Wayback/Archive] Online Plant UML Editor bye be aware that it is not live preview and the repository at [Wayback/Archive] sujoyu/plantuml-previewer: Online Plant UML editor with syntax highlighting and preview. had not been maintained from 2018 through 2023.

Queries

Site to Site OpenVPN Network from Condo LAN to Work LAN

The network PlantUML code is at [Wayback/Archive] gist.github.com/jpluimers/89bd1b042e30d3caf06ad52b85e51428 (see also the text below and [Wayback/Archive] rendering on the right).

jeroen



@startuml
nwdiag {
group openVpnNetwork{
color = "orange"
description = "site2site VPN \n between condo \n and work LAN";
condoRouter;
internetRouter;
workWAN2LANRouter;
pfSenseRouter;
}
network condo {
color = "green"
address = "192.168.x.0/24";
condoRouter [ address = "192.168.x.1/24"; ];
dashboardRPi [ address = "192.168.x.38/24"; ];
desktopPC [ address = "192.168.x.25/24"; ];
}
network internet {
condoRouter [ address = "A.B.C.D"; ];
internetRouter [ address = "F.G.H.I"; description = "work WAN \n internet router \n\n forwards OpenVPN port \n from internet \n to pfSenseRouter" ];
}
network workWAN {
address = "192.168.y.0/24";
internetRouter [ address = "192.168.x.1/24"; ];
workWAN2LANRouter [ address = "192.168.x.24/24"; ];
DMZserver [ address = "192.168.x.201/24"; ];
}
network workLAN{
color = "LightBlue";
description = "work LAN 192.168.z.0/24";
workWAN2LANRouter [ address = "192.168.z.1/24"; ];
pfSenseRouter [ address = "192.168.z.4/24"; ];
LANServer [ address = "192.168.x.201/24"; ];
}
}
@enduml

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.