Table of Contents

Security Guide for the Paranoid

This guide is a work in progress.

Security is not simply avoiding a hack, it is about preserving the valuable data of your company or of your daily life.

This guide targets medium to high security for everyone. But it will not stop governments from digging in your personal computers or strolling your home network, as governments have access to undocumented “zero day” attacks. It summarizes discussion from: https://forum.openwrt.org/t/security-guide-for-the-paranoid/

Who is this guide for?

With today's fast DSL lines, cable, or fiber optics, security is a matter of interest for everyone:

  1. Security officers
  2. Network admins
  3. Home users

Basic rules for security

These are very basic rules!

  1. Minimize the attack space. Don't use applications or computers that you don't need and use only the needed resources. Especially, the main firewall in contact with the Internet should only run essential software.
  2. Do not trust security. If you do hold secrets, do not share them using a computer. Once you completed this guide, don't expect to save your credit card informations somewhere on your computer.
  3. Create layers of defense, that will slow-down an attack and leave time for your to shutdown computers and recover from backups. In French this notion is described as “défense en profondeur” (i.e. “Deep-Defense”). An example of Deep-Defense in history is the defense of Russians against Napoleon during the Russian campaign.
  4. Manage quality and improve your defense step by step. Use only software validated by communities, i.e. Free Software. Do not use commercial software with no access to source code (“Management by obscurity”).

Why use OpenWrt?

In the past, several well-known communities providing firewalls and network appliance failed to share information about their compilation platforms. Especially, part of the kernel code remained unknown. OpenWrt offers free open source state-of-the art firmware based on recent versions of GNU/Linux.

The beauty of this is that thanks to a wide support of equipment, a complete network topology for home user becomes affordable.

In this tutorial, we will also give information about electrical consumption, showing that choosing the right embedded equipment can save a lot in energy and there is no need to go for expensive, unsecure and power consuming devices.

Furthermore, devices are small and so cheap, that for security issues, you may fill them with stone-glue to avoid any opening and we will show you how to do it using professional techniques.

Network topology

The proposed network topology is for home users and small companies. You may adapt it to your needs and available hardware. OpenWrt can do all this on a single router, but it preferable to add defense space and use several of them. The network topology includes:

Note that historically the name LEDE was used for a period of time, but it also means OpenWrt.

As you can see, the topology is designed to resist attacks using deep defense:

This should leave space and time for proper reaction.

Also, note that zones are organized according to security principles: