Make reveal.js path relative
This commit is contained in:
parent
655b8672d3
commit
0dc682efad
2 changed files with 31 additions and 31 deletions
|
@ -9,9 +9,9 @@
|
|||
<style type="text/css">
|
||||
.underline { text-decoration: underline; }
|
||||
</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>
|
||||
<body>
|
||||
|
@ -21,8 +21,8 @@
|
|||
</section>
|
||||
|
||||
<section>
|
||||
<section id="slide-org43a1573">
|
||||
<h2 id="org43a1573"><span class="section-number-2">1.</span> WireGuard</h2>
|
||||
<section id="slide-org57a8a12">
|
||||
<h2 id="org57a8a12"><span class="section-number-2">1.</span> WireGuard</h2>
|
||||
<ul>
|
||||
<li>Implementação de VPN moderna, simples e <b>rápida</b>.
|
||||
<ul>
|
||||
|
@ -42,8 +42,8 @@ etc.)</li>
|
|||
</section>
|
||||
</section>
|
||||
<section>
|
||||
<section id="slide-org14f3441">
|
||||
<h2 id="org14f3441"><span class="section-number-2">2.</span> Modo de usar</h2>
|
||||
<section id="slide-org497ccb1">
|
||||
<h2 id="org497ccb1"><span class="section-number-2">2.</span> Modo de usar</h2>
|
||||
<ul>
|
||||
<li>O conceito de servidor não é definido.</li>
|
||||
<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>
|
||||
|
||||
</section>
|
||||
<section id="slide-org0a17d72">
|
||||
<h3 id="org0a17d72"><span class="section-number-3">2.1.</span> Exemplo de configuração</h3>
|
||||
<section id="slide-org6f9b5ff">
|
||||
<h3 id="org6f9b5ff"><span class="section-number-3">2.1.</span> Exemplo de configuração</h3>
|
||||
<pre class="example" >
|
||||
# cat /etc/wireguard/wg0.conf
|
||||
[Interface]
|
||||
|
@ -77,8 +77,8 @@ AllowedIPs = 10.10.11.0/24, 10.10.10.0/24
|
|||
</pre>
|
||||
|
||||
</section>
|
||||
<section id="slide-orge1c080d">
|
||||
<h3 id="orge1c080d"><span class="section-number-3">2.2.</span> Habilitando a interface</h3>
|
||||
<section id="slide-orgceb2589">
|
||||
<h3 id="orgceb2589"><span class="section-number-3">2.2.</span> Habilitando a interface</h3>
|
||||
<pre class="example" >
|
||||
# wg-quick up wg0
|
||||
[#] 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 id="slide-orge644829">
|
||||
<h2 id="orge644829"><span class="section-number-2">3.</span> Exemplos de topologia de rede</h2>
|
||||
<section id="slide-org1ad9583">
|
||||
<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>
|
||||
</section>
|
||||
<section id="slide-org7aa0d4c">
|
||||
<h3 id="org7aa0d4c"><span class="section-number-3">3.1.</span> Wireguard no roteador</h3>
|
||||
<section id="slide-orgfff7f54">
|
||||
<h3 id="orgfff7f54"><span class="section-number-3">3.1.</span> Wireguard no roteador</h3>
|
||||
<pre class="example" >
|
||||
internet ┌─── wg0 10.10.11.1/24
|
||||
10.10.11.2/24 │ VPN network
|
||||
|
@ -115,8 +115,8 @@ Laptop ┌─┴─┐ ┌─┴
|
|||
</pre>
|
||||
|
||||
</section>
|
||||
<section id="slide-org5b72bb0">
|
||||
<h3 id="org5b72bb0"><span class="section-number-3">3.2.</span> WireGuard dentro da rede interna</h3>
|
||||
<section id="slide-orge9ad030">
|
||||
<h3 id="orge9ad030"><span class="section-number-3">3.2.</span> WireGuard dentro da rede interna</h3>
|
||||
<pre class="example" >
|
||||
internet
|
||||
10.10.10.3/24
|
||||
|
@ -136,8 +136,8 @@ Reservado para VPN:
|
|||
</pre>
|
||||
|
||||
</section>
|
||||
<section id="slide-orgd289f02">
|
||||
<h3 id="orgd289f02"><span class="section-number-3">3.3.</span> WireGuard ponto-a-ponto (nosso caso)</h3>
|
||||
<section id="slide-org6d1a1fb">
|
||||
<h3 id="org6d1a1fb"><span class="section-number-3">3.3.</span> WireGuard ponto-a-ponto (nosso caso)</h3>
|
||||
<pre class="example" >
|
||||
internet
|
||||
10.20.30.2/32
|
||||
|
@ -157,8 +157,8 @@ Reservado para VPN:
|
|||
</section>
|
||||
</section>
|
||||
<section>
|
||||
<section id="slide-orgbbcbf0c">
|
||||
<h2 id="orgbbcbf0c"><span class="section-number-2">4.</span> Por que fazer (em casa)?</h2>
|
||||
<section id="slide-org4f24033">
|
||||
<h2 id="org4f24033"><span class="section-number-2">4.</span> Por que fazer (em casa)?</h2>
|
||||
<ul>
|
||||
<li>Controle sobre a localidade dos dados.</li>
|
||||
<li>Controle da máquina onde o serviço está rodando.</li>
|
||||
|
@ -169,8 +169,8 @@ Reservado para VPN:
|
|||
</section>
|
||||
</section>
|
||||
<section>
|
||||
<section id="slide-orgc591211">
|
||||
<h2 id="orgc591211"><span class="section-number-2">5.</span> Por que <b>NÃO</b> fazer (em casa)?</h2>
|
||||
<section id="slide-org15dc58e">
|
||||
<h2 id="org15dc58e"><span class="section-number-2">5.</span> Por que <b>NÃO</b> fazer (em casa)?</h2>
|
||||
<ul>
|
||||
<li><b>Aumento da superfície de ataque à sua rede doméstica</b>.</li>
|
||||
<li>Consumo de banda/dados.</li>
|
||||
|
@ -182,8 +182,8 @@ Reservado para VPN:
|
|||
</section>
|
||||
</section>
|
||||
<section>
|
||||
<section id="slide-org681fc3e">
|
||||
<h2 id="org681fc3e"><span class="section-number-2">6.</span> Cuidados</h2>
|
||||
<section id="slide-org30e8f84">
|
||||
<h2 id="org30e8f84"><span class="section-number-2">6.</span> Cuidados</h2>
|
||||
<ul>
|
||||
<li>Proteja sua rede interna!
|
||||
<ul>
|
||||
|
@ -206,8 +206,8 @@ Reservado para VPN:
|
|||
</section>
|
||||
</section>
|
||||
<section>
|
||||
<section id="slide-orga9d81a0">
|
||||
<h2 id="orga9d81a0"><span class="section-number-2">7.</span> Referências</h2>
|
||||
<section id="slide-org87a06bc">
|
||||
<h2 id="org87a06bc"><span class="section-number-2">7.</span> Referências</h2>
|
||||
<ul>
|
||||
<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>
|
||||
|
@ -217,10 +217,10 @@ Reservado para VPN:
|
|||
</section>
|
||||
</div>
|
||||
</div>
|
||||
<script src="/home/sergio/pessoal/slides/wireguard-reverse-proxy/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="file:///home/sergio/pessoal/slides/wireguard-reverse-proxy/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/dist/reveal.js"></script>
|
||||
<script src="reveal.js-master/plugin/markdown/markdown.js"></script>
|
||||
<script src="reveal.js-master/plugin/zoom/zoom.js"></script>
|
||||
<script src="reveal.js-master/plugin/notes/notes.js"></script>
|
||||
|
||||
|
||||
<script>
|
||||
|
|
|
@ -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_INIT_OPTIONS: transition:'concave', slideNumber:"c/t", hash:true, center:true
|
||||
#+AUTHOR: Sergio Durigan Junior
|
||||
|
|
Loading…
Reference in a new issue