%%{init: {'theme':'base','themeVariables':{'background':'#faf4ed','primaryColor':'#fffaf3','primaryTextColor':'#575279','primaryBorderColor':'#907aa9','lineColor':'#286983','secondaryColor':'#f2e9e1','tertiaryColor':'#f4ede8','edgeLabelBackground':'#fffaf3','fontSize':'15px'}}}%%
flowchart TD
S1["1️⃣ <b>session</b> → pick agent <b>dmz01</b><br/><i>prompt becomes</i> <code>[Agent : root@dmz01] »</code>"]
S2["2️⃣ <b>ifconfig</b> → read the pivot's networks<br/><i>spot the internal subnet to route (172.16.10.0/24)</i>"]
S3["3️⃣ <b>autoroute</b> <i>(interactive)</i><br/>pick subnets → create/name interface →<br/>confirm start: makes <code>ligolo</code>, adds routes,<br/>starts the tunnel — all in one"]
S4["4️⃣ on YOUR box: <b>nmap 172.16.10.20</b><br/>traffic now flows down the tunnel"]
S5["🎯 open ports come back"]
S1 --> S2 --> S3 --> S4 --> S5
style S1 fill:#fffaf3,stroke:#56949f,color:#575279
style S2 fill:#fffaf3,stroke:#56949f,color:#575279
style S3 fill:#fffaf3,stroke:#907aa9,color:#575279
style S4 fill:#fffaf3,stroke:#b4637a,color:#575279
style S5 fill:#fffaf3,stroke:#b4637a,color:#575279