Syncthing port
This commit is contained in:
parent
f096b085d6
commit
a2a5d39608
|
@ -178,25 +178,26 @@ Any manual post-installation setup instructions or passwords can be found in /ho
|
||||||
|
|
||||||
On your internet router, typically under firewall settings, open the following ports and forward them to your server.
|
On your internet router, typically under firewall settings, open the following ports and forward them to your server.
|
||||||
|
|
||||||
| Service | Ports |
|
| Service | Ports |
|
||||||
|---------+------------|
|
|-----------+------------|
|
||||||
| HTTP | 80 |
|
| HTTP | 80 |
|
||||||
| HTTPS | 443 |
|
| HTTPS | 443 |
|
||||||
| SSH | 2222 |
|
| SSH | 2222 |
|
||||||
| DLNA | 1900 |
|
| DLNA | 1900 |
|
||||||
| DLNA | 8200 |
|
| DLNA | 8200 |
|
||||||
| XMPP | 5222..5223 |
|
| XMPP | 5222..5223 |
|
||||||
| XMPP | 5269 |
|
| XMPP | 5269 |
|
||||||
| XMPP | 5280..5281 |
|
| XMPP | 5280..5281 |
|
||||||
| IRC | 6697 |
|
| IRC | 6697 |
|
||||||
| Git | 9418 |
|
| Git | 9418 |
|
||||||
| Email | 25 |
|
| Email | 25 |
|
||||||
| Email | 587 |
|
| Email | 587 |
|
||||||
| Email | 465 |
|
| Email | 465 |
|
||||||
| Email | 993 |
|
| Email | 993 |
|
||||||
| VoIP | 64738 |
|
| VoIP | 64738 |
|
||||||
| VoIP | 5060 |
|
| VoIP | 5060 |
|
||||||
| Tox | 33445 |
|
| Tox | 33445 |
|
||||||
|
| Syncthing | 22000 |
|
||||||
|
|
||||||
* Keydrives
|
* Keydrives
|
||||||
After installing for the first time it's a good idea to create some keydrives. These will store your gpg key so that if all else fails you will still be able to restore from backup. There are two ways to do this:
|
After installing for the first time it's a good idea to create some keydrives. These will store your gpg key so that if all else fails you will still be able to restore from backup. There are two ways to do this:
|
||||||
|
|
Binary file not shown.
|
@ -3,7 +3,7 @@
|
||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2016-04-06 Wed 18:50 -->
|
<!-- 2016-04-23 Sat 13:25 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title></title>
|
<title></title>
|
||||||
|
@ -170,11 +170,11 @@ for the JavaScript code in this tag.
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="org-left"><a href="#orgheadline1">Building an image for a Single Board Computer or Virtual Machine</a></td>
|
<td class="org-left"><a href="#orgf5eb1b9">Building an image for a Single Board Computer or Virtual Machine</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="org-left"><a href="#orgheadline2">Checklist</a></td>
|
<td class="org-left"><a href="#orgbb187ae">Checklist</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -182,34 +182,34 @@ for the JavaScript code in this tag.
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="org-left"><a href="#orgheadline3">Installation</a></td>
|
<td class="org-left"><a href="#orgde28312">Installation</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="org-left"><a href="#orgheadline4">Social Key Management - the 'Unforgettable Key'</a></td>
|
<td class="org-left"><a href="#orgfb04cde">Social Key Management - the 'Unforgettable Key'</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="org-left"><a href="#orgheadline5">Final Setup</a></td>
|
<td class="org-left"><a href="#org9c24556">Final Setup</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="org-left"><a href="#orgheadline6">Keydrives</a></td>
|
<td class="org-left"><a href="#org45dffb">Keydrives</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="org-left"><a href="#orgheadline7">On Client Machines</a></td>
|
<td class="org-left"><a href="#orgeabcb9d">On Client Machines</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="org-left"><a href="#orgheadline8">Administering the system</a></td>
|
<td class="org-left"><a href="#org53e4300">Administering the system</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<div id="outline-container-orgheadline1" class="outline-2">
|
<div id="outline-container-orgf5eb1b9" class="outline-2">
|
||||||
<h2 id="orgheadline1">Building an image for a Single Board Computer or Virtual Machine</h2>
|
<h2 id="orgf5eb1b9">Building an image for a Single Board Computer or Virtual Machine</h2>
|
||||||
<div class="outline-text-2" id="text-orgheadline1">
|
<div class="outline-text-2" id="text-orgf5eb1b9">
|
||||||
<p>
|
<p>
|
||||||
You don't have to trust images downloaded from random internet locations signed with untrusted keys. You can build one from scratch yourself, and this is the recommended procedure for maximum security. For guidance on how to build images see the manpage for the <b>freedombone-image</b> command.
|
You don't have to trust images downloaded from random internet locations signed with untrusted keys. You can build one from scratch yourself, and this is the recommended procedure for maximum security. For guidance on how to build images see the manpage for the <b>freedombone-image</b> command.
|
||||||
</p>
|
</p>
|
||||||
|
@ -295,9 +295,9 @@ If the image build fails with an error such as "<i>Error reading from server. Re
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgheadline2" class="outline-2">
|
<div id="outline-container-orgbb187ae" class="outline-2">
|
||||||
<h2 id="orgheadline2">Checklist</h2>
|
<h2 id="orgbb187ae">Checklist</h2>
|
||||||
<div class="outline-text-2" id="text-orgheadline2">
|
<div class="outline-text-2" id="text-orgbb187ae">
|
||||||
<p>
|
<p>
|
||||||
Before installing Freedombone you will need a few things.
|
Before installing Freedombone you will need a few things.
|
||||||
</p>
|
</p>
|
||||||
|
@ -311,17 +311,17 @@ Before installing Freedombone you will need a few things.
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgheadline3" class="outline-2">
|
<div id="outline-container-orgde28312" class="outline-2">
|
||||||
<h2 id="orgheadline3">Installation</h2>
|
<h2 id="orgde28312">Installation</h2>
|
||||||
<div class="outline-text-2" id="text-orgheadline3">
|
<div class="outline-text-2" id="text-orgde28312">
|
||||||
<p>
|
<p>
|
||||||
There are three install options: Laptop/Desktop/Netbook, SBC and Virtual Machine.
|
There are three install options: Laptop/Desktop/Netbook, SBC and Virtual Machine.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgheadline9" class="outline-3">
|
<div id="outline-container-orgbbfdf87" class="outline-3">
|
||||||
<h3 id="orgheadline9">On a Laptop, Netbook or Desktop machine</h3>
|
<h3 id="orgbbfdf87">On a Laptop, Netbook or Desktop machine</h3>
|
||||||
<div class="outline-text-3" id="text-orgheadline9">
|
<div class="outline-text-3" id="text-orgbbfdf87">
|
||||||
<p>
|
<p>
|
||||||
If you have an existing system, such as an old laptop or netbook which you can leave running as a server, then install a new version of Debian Jessie onto it. During the Debian install you won't need the print server or the desktop environment, and unchecking those will reduce the attack surface. Once Debian enter the following commands:
|
If you have an existing system, such as an old laptop or netbook which you can leave running as a server, then install a new version of Debian Jessie onto it. During the Debian install you won't need the print server or the desktop environment, and unchecking those will reduce the attack surface. Once Debian enter the following commands:
|
||||||
</p>
|
</p>
|
||||||
|
@ -340,9 +340,9 @@ freedombone menuconfig
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgheadline10" class="outline-3">
|
<div id="outline-container-org447e0ab" class="outline-3">
|
||||||
<h3 id="orgheadline10">On a single board computer (SBC)</h3>
|
<h3 id="org447e0ab">On a single board computer (SBC)</h3>
|
||||||
<div class="outline-text-3" id="text-orgheadline10">
|
<div class="outline-text-3" id="text-org447e0ab">
|
||||||
<p>
|
<p>
|
||||||
Currently the following boards are supported:
|
Currently the following boards are supported:
|
||||||
</p>
|
</p>
|
||||||
|
@ -426,9 +426,9 @@ Using the password 'freedombone'. Take a note of the new login password and then
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgheadline11" class="outline-3">
|
<div id="outline-container-org7807744" class="outline-3">
|
||||||
<h3 id="orgheadline11">As a Virtual Machine</h3>
|
<h3 id="org7807744">As a Virtual Machine</h3>
|
||||||
<div class="outline-text-3" id="text-orgheadline11">
|
<div class="outline-text-3" id="text-org7807744">
|
||||||
<p>
|
<p>
|
||||||
Virtualbox and Qemu are supported. You can run a 64 bit Qemu image with:
|
Virtualbox and Qemu are supported. You can run a 64 bit Qemu image with:
|
||||||
</p>
|
</p>
|
||||||
|
@ -450,42 +450,42 @@ The default login will be username 'fbone' and password 'freedombone'. Take a no
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgheadline4" class="outline-2">
|
<div id="outline-container-orgfb04cde" class="outline-2">
|
||||||
<h2 id="orgheadline4">Social Key Management - the 'Unforgettable Key'</h2>
|
<h2 id="orgfb04cde">Social Key Management - the 'Unforgettable Key'</h2>
|
||||||
<div class="outline-text-2" id="text-orgheadline4">
|
<div class="outline-text-2" id="text-orgfb04cde">
|
||||||
<p>
|
<p>
|
||||||
During the install procedure you will be asked if you wish to import GPG keys. If you don't already possess GPG keys then just select "Ok" and they will be generated during the install. If you do already have GPG keys then there are a few possibilities
|
During the install procedure you will be asked if you wish to import GPG keys. If you don't already possess GPG keys then just select "Ok" and they will be generated during the install. If you do already have GPG keys then there are a few possibilities
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgheadline12" class="outline-3">
|
<div id="outline-container-org285c7d1" class="outline-3">
|
||||||
<h3 id="orgheadline12">You have the gnupg keyring on an encrypted USB drive</h3>
|
<h3 id="org285c7d1">You have the gnupg keyring on an encrypted USB drive</h3>
|
||||||
<div class="outline-text-3" id="text-orgheadline12">
|
<div class="outline-text-3" id="text-org285c7d1">
|
||||||
<p>
|
<p>
|
||||||
If you previously made a master keydrive containing the full keyring (the .gnupg directory). This is the most straightforward case, but not as secure as splitting the key into fragments.
|
If you previously made a master keydrive containing the full keyring (the .gnupg directory). This is the most straightforward case, but not as secure as splitting the key into fragments.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgheadline13" class="outline-3">
|
<div id="outline-container-orgff616ab" class="outline-3">
|
||||||
<h3 id="orgheadline13">You have a number of key fragments on USB drives retrieved from friends</h3>
|
<h3 id="orgff616ab">You have a number of key fragments on USB drives retrieved from friends</h3>
|
||||||
<div class="outline-text-3" id="text-orgheadline13">
|
<div class="outline-text-3" id="text-orgff616ab">
|
||||||
<p>
|
<p>
|
||||||
If you previously made some USB drives containing key fragments then retrieve them from your friends and plug them in one after the other. After the last drive has been read then remove it and just select "Ok". The system will then try to reconstruct the key. For this to work you will need to have previously made three or more <a href="#orgheadline6">Keydrives</a>.
|
If you previously made some USB drives containing key fragments then retrieve them from your friends and plug them in one after the other. After the last drive has been read then remove it and just select "Ok". The system will then try to reconstruct the key. For this to work you will need to have previously made three or more <a href="#org45dffb">Keydrives</a>.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgheadline14" class="outline-3">
|
<div id="outline-container-orgff957c" class="outline-3">
|
||||||
<h3 id="orgheadline14">You can specify some ssh login details for friends servers containing key fragments</h3>
|
<h3 id="orgff957c">You can specify some ssh login details for friends servers containing key fragments</h3>
|
||||||
<div class="outline-text-3" id="text-orgheadline14">
|
<div class="outline-text-3" id="text-orgff957c">
|
||||||
<p>
|
<p>
|
||||||
Enter three or more sets of login details and the installer will try to retrieve key fragments and then assemble them into the full key. This only works if you previously were using remote backups and had social key management enabled.
|
Enter three or more sets of login details and the installer will try to retrieve key fragments and then assemble them into the full key. This only works if you previously were using remote backups and had social key management enabled.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgheadline5" class="outline-2">
|
<div id="outline-container-org9c24556" class="outline-2">
|
||||||
<h2 id="orgheadline5">Final Setup</h2>
|
<h2 id="org9c24556">Final Setup</h2>
|
||||||
<div class="outline-text-2" id="text-orgheadline5">
|
<div class="outline-text-2" id="text-org9c24556">
|
||||||
<p>
|
<p>
|
||||||
Any manual post-installation setup instructions or passwords can be found in /home/username/README. You should remove any passwords from that file and store them within a password manager such as KeepassX.
|
Any manual post-installation setup instructions or passwords can be found in /home/username/README. You should remove any passwords from that file and store them within a password manager such as KeepassX.
|
||||||
</p>
|
</p>
|
||||||
|
@ -593,21 +593,26 @@ On your internet router, typically under firewall settings, open the following p
|
||||||
<td class="org-left">Tox</td>
|
<td class="org-left">Tox</td>
|
||||||
<td class="org-right">33445</td>
|
<td class="org-right">33445</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="org-left">Syncthing</td>
|
||||||
|
<td class="org-right">22000</td>
|
||||||
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgheadline6" class="outline-2">
|
<div id="outline-container-org45dffb" class="outline-2">
|
||||||
<h2 id="orgheadline6">Keydrives</h2>
|
<h2 id="org45dffb">Keydrives</h2>
|
||||||
<div class="outline-text-2" id="text-orgheadline6">
|
<div class="outline-text-2" id="text-org45dffb">
|
||||||
<p>
|
<p>
|
||||||
After installing for the first time it's a good idea to create some keydrives. These will store your gpg key so that if all else fails you will still be able to restore from backup. There are two ways to do this:
|
After installing for the first time it's a good idea to create some keydrives. These will store your gpg key so that if all else fails you will still be able to restore from backup. There are two ways to do this:
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgheadline15" class="outline-3">
|
<div id="outline-container-org88a0044" class="outline-3">
|
||||||
<h3 id="orgheadline15">Master Keydrive</h3>
|
<h3 id="org88a0044">Master Keydrive</h3>
|
||||||
<div class="outline-text-3" id="text-orgheadline15">
|
<div class="outline-text-3" id="text-org88a0044">
|
||||||
<p>
|
<p>
|
||||||
This is the traditional security model in which you carry your full keyring on an encrypted USB drive. To make a master keydrive first format a USB drive as a LUKS encrypted drive. In Ubuntu this can be <a href="https://help.ubuntu.com/community/EncryptedFilesystemsOnRemovableStorage">done from the <i>Disk Utility</i> application</a>. Then plug it into the Freedombone system, then from your local machine run:
|
This is the traditional security model in which you carry your full keyring on an encrypted USB drive. To make a master keydrive first format a USB drive as a LUKS encrypted drive. In Ubuntu this can be <a href="https://help.ubuntu.com/community/EncryptedFilesystemsOnRemovableStorage">done from the <i>Disk Utility</i> application</a>. Then plug it into the Freedombone system, then from your local machine run:
|
||||||
</p>
|
</p>
|
||||||
|
@ -623,9 +628,9 @@ Select <i>Administrator controls</i> then <i>Backup and Restore</i> then <i>Back
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgheadline16" class="outline-3">
|
<div id="outline-container-org9e44d48" class="outline-3">
|
||||||
<h3 id="orgheadline16">Fragment keydrives</h3>
|
<h3 id="org9e44d48">Fragment keydrives</h3>
|
||||||
<div class="outline-text-3" id="text-orgheadline16">
|
<div class="outline-text-3" id="text-org9e44d48">
|
||||||
<p>
|
<p>
|
||||||
This breaks your GPG key into a number of fragments and randomly selects one to add to the USB drive. First format a USB drive as a LUKS encrypted drive. In Ubuntu this <a href="https://help.ubuntu.com/community/EncryptedFilesystemsOnRemovableStorage">can be done from the <i>Disk Utility</i> application</a>. Plug it into the Freedombone system then from your local machine run the following commands:
|
This breaks your GPG key into a number of fragments and randomly selects one to add to the USB drive. First format a USB drive as a LUKS encrypted drive. In Ubuntu this <a href="https://help.ubuntu.com/community/EncryptedFilesystemsOnRemovableStorage">can be done from the <i>Disk Utility</i> application</a>. Plug it into the Freedombone system then from your local machine run the following commands:
|
||||||
</p>
|
</p>
|
||||||
|
@ -646,9 +651,9 @@ Fragments are randomly assigned and so you will need at least three or four keyd
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgheadline7" class="outline-2">
|
<div id="outline-container-orgeabcb9d" class="outline-2">
|
||||||
<h2 id="orgheadline7">On Client Machines</h2>
|
<h2 id="orgeabcb9d">On Client Machines</h2>
|
||||||
<div class="outline-text-2" id="text-orgheadline7">
|
<div class="outline-text-2" id="text-orgeabcb9d">
|
||||||
<p>
|
<p>
|
||||||
You can configure laptops or desktop machines which connect to the Freedombone server in the following way. This alters encryption settings to improve overall security.
|
You can configure laptops or desktop machines which connect to the Freedombone server in the following way. This alters encryption settings to improve overall security.
|
||||||
</p>
|
</p>
|
||||||
|
@ -666,9 +671,9 @@ freedombone-client
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgheadline8" class="outline-2">
|
<div id="outline-container-org53e4300" class="outline-2">
|
||||||
<h2 id="orgheadline8">Administering the system</h2>
|
<h2 id="org53e4300">Administering the system</h2>
|
||||||
<div class="outline-text-2" id="text-orgheadline8">
|
<div class="outline-text-2" id="text-org53e4300">
|
||||||
<p>
|
<p>
|
||||||
To administer the system after installation log in via ssh, become the root user and then launch the control panel.
|
To administer the system after installation log in via ssh, become the root user and then launch the control panel.
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue