Make reveal.js path relative

This commit is contained in:
Sergio Durigan Junior 2023-08-26 17:26:41 -04:00
parent 655b8672d3
commit 0dc682efad
2 changed files with 31 additions and 31 deletions

View file

@ -9,9 +9,9 @@
<style type="text/css"> <style type="text/css">
.underline { text-decoration: underline; } .underline { text-decoration: underline; }
</style> </style>
<link rel="stylesheet" href="file:///home/sergio/pessoal/slides/wireguard-reverse-proxy/reveal.js-master/dist/reveal.css"/> <link rel="stylesheet" href="reveal.js-master/dist/reveal.css"/>
<link rel="stylesheet" href="file:///home/sergio/pessoal/slides/wireguard-reverse-proxy/reveal.js-master/dist/theme/night.css" id="theme"/> <link rel="stylesheet" href="reveal.js-master/dist/theme/night.css" id="theme"/>
</head> </head>
<body> <body>
@ -21,8 +21,8 @@
</section> </section>
<section> <section>
<section id="slide-org43a1573"> <section id="slide-org57a8a12">
<h2 id="org43a1573"><span class="section-number-2">1.</span> WireGuard</h2> <h2 id="org57a8a12"><span class="section-number-2">1.</span> WireGuard</h2>
<ul> <ul>
<li>Implementação de VPN moderna, simples e <b>rápida</b>. <li>Implementação de VPN moderna, simples e <b>rápida</b>.
<ul> <ul>
@ -42,8 +42,8 @@ etc.)</li>
</section> </section>
</section> </section>
<section> <section>
<section id="slide-org14f3441"> <section id="slide-org497ccb1">
<h2 id="org14f3441"><span class="section-number-2">2.</span> Modo de usar</h2> <h2 id="org497ccb1"><span class="section-number-2">2.</span> Modo de usar</h2>
<ul> <ul>
<li>O conceito de servidor não é definido.</li> <li>O conceito de servidor não é definido.</li>
<li>Geralmente usa-se o <code>wg-quick</code> (do pacote <code>wireguard-tools</code>). <li>Geralmente usa-se o <code>wg-quick</code> (do pacote <code>wireguard-tools</code>).
@ -60,8 +60,8 @@ pública para os <i>peers</i>.</li>
</ul> </ul>
</section> </section>
<section id="slide-org0a17d72"> <section id="slide-org6f9b5ff">
<h3 id="org0a17d72"><span class="section-number-3">2.1.</span> Exemplo de configuração</h3> <h3 id="org6f9b5ff"><span class="section-number-3">2.1.</span> Exemplo de configuração</h3>
<pre class="example" > <pre class="example" >
# cat /etc/wireguard/wg0.conf # cat /etc/wireguard/wg0.conf
[Interface] [Interface]
@ -77,8 +77,8 @@ AllowedIPs = 10.10.11.0/24, 10.10.10.0/24
</pre> </pre>
</section> </section>
<section id="slide-orge1c080d"> <section id="slide-orgceb2589">
<h3 id="orge1c080d"><span class="section-number-3">2.2.</span> Habilitando a interface</h3> <h3 id="orgceb2589"><span class="section-number-3">2.2.</span> Habilitando a interface</h3>
<pre class="example" > <pre class="example" >
# wg-quick up wg0 # wg-quick up wg0
[#] ip link add wg0 type wireguard [#] ip link add wg0 type wireguard
@ -91,13 +91,13 @@ AllowedIPs = 10.10.11.0/24, 10.10.10.0/24
</section> </section>
</section> </section>
<section> <section>
<section id="slide-orge644829"> <section id="slide-org1ad9583">
<h2 id="orge644829"><span class="section-number-2">3.</span> Exemplos de topologia de rede</h2> <h2 id="org1ad9583"><span class="section-number-2">3.</span> Exemplos de topologia de rede</h2>
<div class="outline-text-2" id="text-3"> <div class="outline-text-2" id="text-3">
</div> </div>
</section> </section>
<section id="slide-org7aa0d4c"> <section id="slide-orgfff7f54">
<h3 id="org7aa0d4c"><span class="section-number-3">3.1.</span> Wireguard no roteador</h3> <h3 id="orgfff7f54"><span class="section-number-3">3.1.</span> Wireguard no roteador</h3>
<pre class="example" > <pre class="example" >
internet ┌─── wg0 10.10.11.1/24 internet ┌─── wg0 10.10.11.1/24
10.10.11.2/24 │ VPN network 10.10.11.2/24 │ VPN network
@ -115,8 +115,8 @@ Laptop ┌─┴─┐ ┌─┴
</pre> </pre>
</section> </section>
<section id="slide-org5b72bb0"> <section id="slide-orge9ad030">
<h3 id="org5b72bb0"><span class="section-number-3">3.2.</span> WireGuard dentro da rede interna</h3> <h3 id="orge9ad030"><span class="section-number-3">3.2.</span> WireGuard dentro da rede interna</h3>
<pre class="example" > <pre class="example" >
internet internet
10.10.10.3/24 10.10.10.3/24
@ -136,8 +136,8 @@ Reservado para VPN:
</pre> </pre>
</section> </section>
<section id="slide-orgd289f02"> <section id="slide-org6d1a1fb">
<h3 id="orgd289f02"><span class="section-number-3">3.3.</span> WireGuard ponto-a-ponto (nosso caso)</h3> <h3 id="org6d1a1fb"><span class="section-number-3">3.3.</span> WireGuard ponto-a-ponto (nosso caso)</h3>
<pre class="example" > <pre class="example" >
internet internet
10.20.30.2/32 10.20.30.2/32
@ -157,8 +157,8 @@ Reservado para VPN:
</section> </section>
</section> </section>
<section> <section>
<section id="slide-orgbbcbf0c"> <section id="slide-org4f24033">
<h2 id="orgbbcbf0c"><span class="section-number-2">4.</span> Por que fazer (em casa)?</h2> <h2 id="org4f24033"><span class="section-number-2">4.</span> Por que fazer (em casa)?</h2>
<ul> <ul>
<li>Controle sobre a localidade dos dados.</li> <li>Controle sobre a localidade dos dados.</li>
<li>Controle da máquina onde o serviço está rodando.</li> <li>Controle da máquina onde o serviço está rodando.</li>
@ -169,8 +169,8 @@ Reservado para VPN:
</section> </section>
</section> </section>
<section> <section>
<section id="slide-orgc591211"> <section id="slide-org15dc58e">
<h2 id="orgc591211"><span class="section-number-2">5.</span> Por que <b>NÃO</b> fazer (em casa)?</h2> <h2 id="org15dc58e"><span class="section-number-2">5.</span> Por que <b>NÃO</b> fazer (em casa)?</h2>
<ul> <ul>
<li><b>Aumento da superfície de ataque à sua rede doméstica</b>.</li> <li><b>Aumento da superfície de ataque à sua rede doméstica</b>.</li>
<li>Consumo de banda/dados.</li> <li>Consumo de banda/dados.</li>
@ -182,8 +182,8 @@ Reservado para VPN:
</section> </section>
</section> </section>
<section> <section>
<section id="slide-org681fc3e"> <section id="slide-org30e8f84">
<h2 id="org681fc3e"><span class="section-number-2">6.</span> Cuidados</h2> <h2 id="org30e8f84"><span class="section-number-2">6.</span> Cuidados</h2>
<ul> <ul>
<li>Proteja sua rede interna! <li>Proteja sua rede interna!
<ul> <ul>
@ -206,8 +206,8 @@ Reservado para VPN:
</section> </section>
</section> </section>
<section> <section>
<section id="slide-orga9d81a0"> <section id="slide-org87a06bc">
<h2 id="orga9d81a0"><span class="section-number-2">7.</span> Referências</h2> <h2 id="org87a06bc"><span class="section-number-2">7.</span> Referências</h2>
<ul> <ul>
<li><a href="https://www.wireguard.com/">https://www.wireguard.com/</a></li> <li><a href="https://www.wireguard.com/">https://www.wireguard.com/</a></li>
<li><a href="https://ubuntu.com/server/docs/wireguard-vpn-introduction">https://ubuntu.com/server/docs/wireguard-vpn-introduction</a></li> <li><a href="https://ubuntu.com/server/docs/wireguard-vpn-introduction">https://ubuntu.com/server/docs/wireguard-vpn-introduction</a></li>
@ -217,10 +217,10 @@ Reservado para VPN:
</section> </section>
</div> </div>
</div> </div>
<script src="/home/sergio/pessoal/slides/wireguard-reverse-proxy/reveal.js-master/dist/reveal.js"></script> <script src="reveal.js-master/dist/reveal.js"></script>
<script src="file:///home/sergio/pessoal/slides/wireguard-reverse-proxy/reveal.js-master/plugin/markdown/markdown.js"></script> <script src="reveal.js-master/plugin/markdown/markdown.js"></script>
<script src="file:///home/sergio/pessoal/slides/wireguard-reverse-proxy/reveal.js-master/plugin/zoom/zoom.js"></script> <script src="reveal.js-master/plugin/zoom/zoom.js"></script>
<script src="file:///home/sergio/pessoal/slides/wireguard-reverse-proxy/reveal.js-master/plugin/notes/notes.js"></script> <script src="reveal.js-master/plugin/notes/notes.js"></script>
<script> <script>

View file

@ -1,4 +1,4 @@
#+REVEAL_ROOT: file:///home/sergio/pessoal/slides/wireguard-reverse-proxy/reveal.js-master #+REVEAL_ROOT: reveal.js-master
#+REVEAL_THEME: night #+REVEAL_THEME: night
#+REVEAL_INIT_OPTIONS: transition:'concave', slideNumber:"c/t", hash:true, center:true #+REVEAL_INIT_OPTIONS: transition:'concave', slideNumber:"c/t", hash:true, center:true
#+AUTHOR: Sergio Durigan Junior #+AUTHOR: Sergio Durigan Junior