Category Archives: Networking

DNSCrypt and dnsmasq on Ubuntu 18.04

This is how I got DNSCrypt and dnsmasq on Ubuntu 18.04 working together. dnsmasq is used for local domains and DHCP while we use DNSCrypt as our forwarding DNSD server. To quote from the OpenDNS website “DNSCrypt is a piece of lightweight software that everyone should use to boost online privacy and security. It works by encrypting all DNS traffic between the user and OpenDNS, preventing any spying, spoofing or man-in-the-middle attacks.”.

Continue reading

Mail Server on Ubuntu 18.04 Part 1

Welcome to Mail Server on Ubuntu 18.04 Part 1. This is the first part of a series of blog posts. It will use Postfix, dovecot and amavis. Setting up a mail server is a complex project it is one of the most difficult and complex servers to setup. There are many different tools/packages that have to come together before it is working. There are many more packages that can be installed before you have something that is usable in the real world with all the hackers and spammers around.

*Do not follow this blog post on a production server unless you are
 [crazy|dumb|mad|nutz|stupid] and want to be unemployed!

Continue reading

DNS with bind9 and DHCP on Ubuntu 16.04

This post will show you how to install DNS with bind9 and DHCP on Ubuntu 16.04. We will end up with a full blown bind9 DNS with an integrated DHCP server. If you are a home user and your network has grown such that you are tired of using all static IP addresses and having to configure the /etc/hosts files by hand, then use the great tool dnsmasq. See my How to set up dnsmasq. Dnsmasq is so much simpler to setup and maintain than bind9, you should think about using it.

DNS with bind9 and DHCP on Ubuntu 16.04 also works on a Raspberry PI 3 running the Ubuntu Image.

Continue reading

Installing Munin on Ubuntu 16.04

Installing Munin on Ubuntu 16.04 is not the hard. Munin is a monitoring system that runs over the network for the local server and remote servers. It monitors all the basics out of the box. We can use it to monitor servers of all types to see what has happened and help find out why stuff broke or started to go slow.

Continue reading

Installing AWstats on Ubuntu 16.04 LTS

If you want to see loads of stats for your web site try Installing AWstats on Ubuntu 16.04 LTS. Number of visitor, Waht OS or Browser they used.

Install

Installing AWstats on Ubuntu 16.04 LTS and some additional packages necessary for the geo and net IP location stats.

sudo apt-get install awstats libgeo-ipfree-perl libnet-ip-perl

Continue reading

Mail Server on Ubuntu 16.04 Part 3

Welcome to Mail Server on Ubuntu 16.04 Part 3. This is the third part of a series of blog posts. We will be adding anti-virus and anti-spam along with some other tools to stop spam and viruses getting through checking in this post.

Mail Server on Ubuntu 16.04 Part 1
Mail Server on Ubuntu 16.04 Part 2

  • Emails will be checked with anti-virus service ClamAV
  • Emails will be checked with anti-spam filters from Spamassassin
  • Grey listing of incoming mail servers with Postgrey

Continue reading