All posts in Computers

IPSec VPN Host to Host on Ubuntu 14.04 with strongSwan

hotfuzz-vs-swan

After spending a crazy amount of time trying to find something up to date regarding network security and host to host VPN I decided to write something which will hopefully be useful to other people in the same situation.

Setting up a host to host IPSec connection between two or more hosts running Ubuntu isn’t always a simple process. We want encryption to protect all the communication between two hosts and for this tutorial we will be using what I feel to be the simplest method of using Pre-shared Keys (PSK).

Continue reading →

Migrate MySQL Servers with Databases and Users

wavey-lines

Moving databases between one MySQL server and another isn’t always easy, especially if you’re migrating database servers from one server to another.  Imagine for this tutorial that you want to take an entire MySQL setup and put it on another server.  We will also be exporting all the user accounts too, very useful for instance if we have lots of websites in our database.  This tutorial will show you how to do just that.

Continue reading →

Bonding Interfaces on Ubuntu 12.04LTS

uber-neat-uber-switches

Having multiple interfaces on a server helps for a variety of reasons, and recently I had to get a server (a Sun Micrososystems X4100 incidentally), up and running with Ubuntu 12.04LTS and bonded interfaces.

Continue reading →

Quick & Easy Nginx Load Balancer with Backend

meh_its_that_simple

This will be a very quick and easy example.  Sometimes you may need to use Nginx as a front end, webcache, load balancer or front end proxy.  As a clue in Nginx speak they are all the same thing.

Things like this can come in very useful not only for load balancing but also if you’re navigating IPSec VPNs.

Continue reading →

Anonymous FTP on Ubuntu 12.04 Server with VSFTPD

Library

I know that basic FTP is not ideal and not secure.  But it is widely supported and used, and sometimes if we’re moving around large files across a network it comes in incredibly useful.

This tutorial will go through setting up an FTP server on Ubuntu 12.04 Server which is allowing anonymous connections.  I wouldn’t recommend you try this on an internet facing host, and would recommend when not in use you turn VSFTP off even on your internal network.

Continue reading →