Diagrams added.

This commit is contained in:
Anuj K 2023-10-31 16:51:24 +05:30
parent c7c4d7d39e
commit d897ebaa09
2 changed files with 24 additions and 1 deletions

View file

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg version="1.1" viewBox="0 0 1920 333.35" xmlns="http://www.w3.org/2000/svg">
<g transform="translate(0 -405.76)">
<rect y="442.08" width="417.62" height="195.84" ry="47.833" fill="#4c4dfb" stroke-width="15"/>
<rect x="1502.4" y="442.08" width="417.62" height="195.84" ry="47.833" fill="#4c4dfb" stroke-width="15"/>
<rect x="732.86" y="405.76" width="454.28" height="268.48" ry="65.576" fill="#4c4dfb" stroke-width="18.318"/>
<text x="207.62411" y="523.29688" fill="#ffffff" font-family="'DejaVu Sans'" font-size="64px" stroke-width="4.8969" text-anchor="middle" xml:space="preserve"><tspan x="207.62411" y="523.29688" text-align="center">HOME</tspan><tspan x="207.62411" y="603.29688" text-align="center">SERVER</tspan></text>
<text x="957.5" y="503.29688" fill="#ffffff" font-family="'DejaVu Sans'" font-size="64px" stroke-width="15" text-align="center" text-anchor="middle" xml:space="preserve"><tspan x="957.5" y="503.29688">3RD-PARTY</tspan><tspan x="957.5" y="583.29688">SERVER</tspan></text>
<text x="1710.0946" y="523.29688" fill="#ffffff" font-family="'DejaVu Sans'" font-size="64px" stroke-width="15" text-align="center" text-anchor="middle" xml:space="preserve"><tspan x="1710.0946" y="523.29688">CLIENT</tspan><tspan x="1710.0946" y="603.29688">DEVICE</tspan></text>
<text x="959.40106" y="635.27734" fill="#ffffff" font-family="'DejaVu Sans'" font-size="26.667px" stroke-width="15" text-align="center" text-anchor="middle" xml:space="preserve"><tspan x="959.40106" y="635.27734" fill="#ffffff" font-size="26.667px">Example - Hetzner</tspan></text>
<text x="562.10803" y="604.19263" fill="#000000" font-family="'DejaVu Sans'" font-size="21.333px" stroke-width="15" text-align="center" text-anchor="middle" xml:space="preserve"><tspan x="562.10803" y="604.19263" font-size="21.333px">Using Let's Encrypt</tspan></text>
<text x="562.10803" y="516.32831" fill="#000000" font-family="'DejaVu Sans'" font-size="21.333px" stroke-width="15" text-align="center" text-anchor="middle" xml:space="preserve"><tspan x="562.10803" y="516.32831" font-size="21.333px">WireGuard Tunnel</tspan></text>
<text x="960" y="707.63184" fill="#000000" font-family="'DejaVu Sans'" font-size="21.333px" stroke-width="15" text-align="center" text-anchor="middle" xml:space="preserve"><tspan x="960" y="707.63184">Data Stays Encrypted</tspan><tspan x="960" y="734.29846">(TLS/SSL Passthrough)</tspan></text>
<text x="1711.1102" y="680.12714" fill="#000000" font-family="'DejaVu Sans'" font-size="21.333px" stroke-width="15" text-align="center" text-anchor="middle" xml:space="preserve"><tspan x="1711.1102" y="680.12714" font-size="21.333px">Data Decrypted</tspan></text>
<text x="1344.3979" y="579.10443" fill="#000000" font-family="'DejaVu Sans'" font-size="21.333px" stroke-width="15" text-align="center" text-anchor="middle" xml:space="preserve"><tspan x="1344.3979" y="579.10443" font-size="21.333px">Using Let's Encrypt</tspan></text>
<rect x="452.42" y="536.33" width="221.91" height="7.3434" rx="0" ry="0" stroke-width="7.609"/>
<path transform="matrix(.35329 0 0 .35329 547.59 476.22)" d="m343.83 217.96v-74.834l64.808 37.417z" stroke-width="15"/>
<rect x="1228" y="536.33" width="221.91" height="7.3434" rx="0" ry="0" stroke-width="7.609"/>
<path transform="matrix(.35329 0 0 .35329 1323.2 476.22)" d="m343.83 217.96v-74.834l64.808 37.417z" stroke-width="15"/>
<text x="562.70178" y="579.10443" fill="#000000" font-family="'DejaVu Sans'" font-size="21.333px" stroke-width="15" text-align="center" text-anchor="middle" xml:space="preserve"><tspan x="562.70178" y="579.10443" font-size="21.333px">Data Encrypted</tspan></text>
<text x="1338.9938" y="516.32831" fill="#000000" font-family="'DejaVu Sans'" font-size="21.333px" stroke-width="15" text-align="center" text-anchor="middle" xml:space="preserve"><tspan x="1338.9938" y="516.32831">Data Still Encrypted</tspan></text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.8 KiB

View file

@ -111,7 +111,7 @@
<p>Here is a diagram to explain my setup:</p>
<p>Diag</p>
<p><img src="/assets/posts/2023-10-07-bypass-cgnat/tls-passthrough.svg" alt="TLS Passthrough" title="TLS-Passthrough" /></p>
<h2 id="prerequisites">Prerequisites</h2>