Browse Source

vpn architecture diagram

master
Bob Mottram 3 years ago
parent
commit
0175ca74f2
6 changed files with 58 additions and 45 deletions
  1. + 5
    - 0
      doc/EN/mesh_usage.org
  2. BIN
      img/mesh_architecture1.jpg
  3. BIN
      img/mesh_architecture2.jpg
  4. BIN
      img/mesh_architecture3.jpg
  5. BIN
      img/mesh_architecture_vpn.jpg
  6. + 53
    - 45
      website/EN/mesh_usage.html

+ 5
- 0
doc/EN/mesh_usage.org

@ -67,6 +67,11 @@ sudo openvpn myclient.ovpn
Where /myclient.ovpn/ comes from your VPN provider and with the password "/freedombone/".
* Connecting two meshes over the internet via a VPN tunnel
#+BEGIN_CENTER
[[file:images/mesh_architecture_vpn.jpg]]
#+END_CENTER
Maybe the internet exists, but you don't care about getting any content from it and just want to use it as a way to connect mesh networks from different geographical locations together.
In your home directory on a system connected via ethernet to an internet router you'll find a file called *vpn.tar.gz*. If you want another mesh to be able to connect to yours then send them this file and get them to uncompress it into their home directory also on an internet gateway machine. If they have an external IP address or domain name for your router then they will be able to VPN connect using the *Connect Meshes* icon. They should also forward port 653 from their internet router to the mesh gateway machine.

BIN
img/mesh_architecture1.jpg

Before After
Width: 1940  |  Height: 1812  |  Size: 111 KiB Width: 1000  |  Height: 934  |  Size: 41 KiB

BIN
img/mesh_architecture2.jpg

Before After
Width: 2772  |  Height: 1784  |  Size: 140 KiB Width: 1000  |  Height: 644  |  Size: 29 KiB

BIN
img/mesh_architecture3.jpg

Before After
Width: 2624  |  Height: 2144  |  Size: 166 KiB Width: 1000  |  Height: 817  |  Size: 37 KiB

BIN
img/mesh_architecture_vpn.jpg

Before After
Width: 1000  |  Height: 600  |  Size: 38 KiB

+ 53
- 45
website/EN/mesh_usage.html

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2017-10-27 Fri 13:10 -->
<!-- 2017-10-27 Fri 14:28 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>&lrm;</title>
@ -247,17 +247,17 @@ for the JavaScript code in this tag.
<center><h1>Mesh Network: How to use it</h1></center>
<ul class="org-ul">
<li><a href="#org5965bc8">Boot trouble</a></li>
<li><a href="#org6fc4c27">Set the Date</a></li>
<li><a href="#org9452f90">Check network status</a></li>
<li><a href="#org1e9178e">Connecting to the internet</a></li>
<li><a href="#org7235347">Connecting two meshes over the internet via a VPN tunnel</a></li>
<li><a href="#org78b4990">Mobile devices (phones, etc)</a></li>
<li><a href="#org5e54363">Chat System</a></li>
<li><a href="#orgf66d5cf">Collaborative document editing</a></li>
<li><a href="#org9df5e68">Social Network</a></li>
<li><a href="#orgf9d3758">Sharing Files</a></li>
<li><a href="#org04f400a">Blogging</a></li>
<li><a href="#org6a43d4d">Boot trouble</a></li>
<li><a href="#org03f4d8a">Set the Date</a></li>
<li><a href="#org55f29f9">Check network status</a></li>
<li><a href="#org802070f">Connecting to the internet</a></li>
<li><a href="#orgd9dffae">Connecting two meshes over the internet via a VPN tunnel</a></li>
<li><a href="#org62a60b3">Mobile devices (phones, etc)</a></li>
<li><a href="#org216d212">Chat System</a></li>
<li><a href="#orgfe4d63b">Collaborative document editing</a></li>
<li><a href="#org76f234d">Social Network</a></li>
<li><a href="#org6154f04">Sharing Files</a></li>
<li><a href="#orga4dae6b">Blogging</a></li>
</ul>
<p>
@ -268,9 +268,9 @@ When you first boot from the USB drive the system will create some encryption ke
After a minute or two if you are within wifi range and there is at least one other user on the network then you should see additional icons appear on the desktop, such as <i>Other Users</i> and <i>Chat</i>.
</p>
<div id="outline-container-org5965bc8" class="outline-2">
<h2 id="org5965bc8">Boot trouble</h2>
<div class="outline-text-2" id="text-org5965bc8">
<div id="outline-container-org6a43d4d" class="outline-2">
<h2 id="org6a43d4d">Boot trouble</h2>
<div class="outline-text-2" id="text-org6a43d4d">
<p>
If the system doesn't boot and reports an error which includes <b>/dev/mapper/loop0p1</b> then reboot with <b>Ctrl-Alt-Del</b> and when you see the grub menu press <b>e</b> and manually change <b>/dev/mapper/loop0p1</b> to <b>/dev/sdb1</b>, then press <b>Ctrl-x</b>. If that doesn't work then reboot and try <b>/dev/sdc1</b> instead.
</p>
@ -280,9 +280,9 @@ After the system has booted successfully the problem should resolve itself on su
</p>
</div>
</div>
<div id="outline-container-org6fc4c27" class="outline-2">
<h2 id="org6fc4c27">Set the Date</h2>
<div class="outline-text-2" id="text-org6fc4c27">
<div id="outline-container-org03f4d8a" class="outline-2">
<h2 id="org03f4d8a">Set the Date</h2>
<div class="outline-text-2" id="text-org03f4d8a">
<p>
On the ordinary internet the date and time of your system would be set automatically via NTP. But this is not the internet and so you will need to manually ensure that your date and time settings are correct. You might need to periodically do this if your clock drifts. It's not essential that the time on your system be highly accurate, but if it drifts too far or goes back to epoch then things could become a little confusing in regard to the order of blog posts.
</p>
@ -292,9 +292,9 @@ On the ordinary internet the date and time of your system would be set automatic
</p>
</div>
</div>
<div id="outline-container-org9452f90" class="outline-2">
<h2 id="org9452f90">Check network status</h2>
<div class="outline-text-2" id="text-org9452f90">
<div id="outline-container-org55f29f9" class="outline-2">
<h2 id="org55f29f9">Check network status</h2>
<div class="outline-text-2" id="text-org55f29f9">
<p>
Unlike with ordinary wifi, on the mesh you don't get a signal strength icon and so it's not simple to see if you have a good connection.
</p>
@ -317,9 +317,9 @@ When you are finished close the window and then select the Network Restart
</p>
</div>
</div>
<div id="outline-container-org1e9178e" class="outline-2">
<h2 id="org1e9178e">Connecting to the internet</h2>
<div class="outline-text-2" id="text-org1e9178e">
<div id="outline-container-org802070f" class="outline-2">
<h2 id="org802070f">Connecting to the internet</h2>
<div class="outline-text-2" id="text-org802070f">
<div class="org-center">
<div class="figure">
@ -350,9 +350,17 @@ Where myclient.ovpn comes from your VPN provider and with the password "<
</p>
</div>
</div>
<div id="outline-container-org7235347" class="outline-2">
<h2 id="org7235347">Connecting two meshes over the internet via a VPN tunnel</h2>
<div class="outline-text-2" id="text-org7235347">
<div id="outline-container-orgd9dffae" class="outline-2">
<h2 id="orgd9dffae">Connecting two meshes over the internet via a VPN tunnel</h2>
<div class="outline-text-2" id="text-orgd9dffae">
<div class="org-center">
<div class="figure">
<p><img src="images/mesh_architecture_vpn.jpg" alt="mesh_architecture_vpn.jpg" />
</p>
</div>
</div>
<p>
Maybe the internet exists, but you don't care about getting any content from it and just want to use it as a way to connect mesh networks from different geographical locations together.
</p>
@ -379,9 +387,9 @@ From a deep packet inspection point of view the traffic going over the internet
</div>
</div>
<div id="outline-container-org78b4990" class="outline-2">
<h2 id="org78b4990">Mobile devices (phones, etc)</h2>
<div class="outline-text-2" id="text-org78b4990">
<div id="outline-container-org62a60b3" class="outline-2">
<h2 id="org62a60b3">Mobile devices (phones, etc)</h2>
<div class="outline-text-2" id="text-org62a60b3">
<div class="org-center">
<div class="figure">
@ -411,9 +419,9 @@ On some android devices you may need to move the downloaded APK file from the
</p>
</div>
</div>
<div id="outline-container-org5e54363" class="outline-2">
<h2 id="org5e54363">Chat System</h2>
<div class="outline-text-2" id="text-org5e54363">
<div id="outline-container-org216d212" class="outline-2">
<h2 id="org216d212">Chat System</h2>
<div class="outline-text-2" id="text-org216d212">
<p>
Ensure that you're within wifi range of at least one other mesh peer (could be a router or client) and then you should see that the <i>Chat</i> and <i>Other Users</i> icons appear. Select the users icon and you should see a list of users on the mesh. Select the <i>Chat</i> icon and once you are connected you should see the status light turn green. If after a few minutes you don't get the green status light then try closing and re-opening the Tox chat application. Select the plus button to add a friend and then copy and paste in a Tox ID from the users list.
</p>
@ -472,9 +480,9 @@ At present video doesn't work reliably, but text and voice chat do work well.
</div>
</div>
<div id="outline-container-orgf66d5cf" class="outline-2">
<h2 id="orgf66d5cf">Collaborative document editing</h2>
<div class="outline-text-2" id="text-orgf66d5cf">
<div id="outline-container-orgfe4d63b" class="outline-2">
<h2 id="orgfe4d63b">Collaborative document editing</h2>
<div class="outline-text-2" id="text-orgfe4d63b">
<p>
The mesh system includes the ability to collaboratively edit various sorts of documents using CryptPad. CryptPad is an almost peer-to-peer system in that it is designed for a client/server environment but that the server aspect of it is very minimal and limited to orchestrating the connected clients. With CryptPad installed on each mesh peer it effectively enables peer-to-peer collaborative editing. Documents are ephemeral and forgotten unless they're exported or copy-pasted to permanent storage.
</p>
@ -505,9 +513,9 @@ If you have the chat system running you can then copy and paste the URL for your
</div>
</div>
<div id="outline-container-org9df5e68" class="outline-2">
<h2 id="org9df5e68">Social Network</h2>
<div class="outline-text-2" id="text-org9df5e68">
<div id="outline-container-org76f234d" class="outline-2">
<h2 id="org76f234d">Social Network</h2>
<div class="outline-text-2" id="text-org76f234d">
<p>
Patchwork is available as a social networking system for the mesh. Like all social network systems it has a stream of posts and you can follow or unfollow other users. You can also send private messages to other users with end-to-end encryption.
</p>
@ -542,9 +550,9 @@ The Secure Scuttlebutt protocol which Patchwork is based upon is intended to be
</div>
</div>
<div id="outline-container-orgf9d3758" class="outline-2">
<h2 id="orgf9d3758">Sharing Files</h2>
<div class="outline-text-2" id="text-orgf9d3758">
<div id="outline-container-org6154f04" class="outline-2">
<h2 id="org6154f04">Sharing Files</h2>
<div class="outline-text-2" id="text-org6154f04">
<p>
You can make files publicly available on the network simply by dragging and dropping them into the <i>Public</i> folder on the desktop. To view the files belonging to another user select the desktop icon called <i>Visit a site</i> and enter the username or Tox ID of the other user.
</p>
@ -559,9 +567,9 @@ You can make files publicly available on the network simply by dragging and drop
</div>
</div>
<div id="outline-container-org04f400a" class="outline-2">
<h2 id="org04f400a">Blogging</h2>
<div class="outline-text-2" id="text-org04f400a">
<div id="outline-container-orga4dae6b" class="outline-2">
<h2 id="orga4dae6b">Blogging</h2>
<div class="outline-text-2" id="text-orga4dae6b">
<p>
To create a blog post select the <i>Blog</i> icon on the desktop and then use the up and down cursor keys, space bar and enter key to add a new entry. Edit the title of the entry and add your text. You can also include photos if you wish - just copy them to the <b>CreateBlog/content/images</b> directory and then link to them as shown.
</p>

Loading…
Cancel
Save