%%{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️⃣ session → pick agent dmz01
prompt becomes [Agent : root@dmz01] »"]
S2["2️⃣ ifconfig → read the pivot's networks
spot the internal subnet to route (172.16.10.0/24)"]
S3["3️⃣ autoroute (interactive)
pick subnets → create/name interface →
confirm start: makes ligolo, adds routes,
starts the tunnel — all in one"]
S4["4️⃣ on YOUR box: nmap 172.16.10.20
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