All posts tagged ubuntu

Installing LEMP on Ubuntu 14.04 with Nginx and NAXSI

internet-the-cloud-raining-binary

Well, after my last tutorial about getting a LEMP server on Ubuntu 11.10 I’m very happy to announce that the process is now a heck of a lot easier on 14.04!  As a matter of fact you don’t need to create your own startup scripts for the services anymore which is nice.

Continue reading →

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 →

Blocking Countries on Nginx without the GeoIP Module

the-world-in-flags

Sometimes blocking entire swathes of the world is the way to go if you truly want a defense in depth approach on your web apps, for instance do your administrators truly need to log on from every country on Earth?  As website administrators we get a feel for where our legitimate traffic is coming from and where we see nefarious connections from.

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 →

Setting up Nginx with Cloudflare

generic_cloud

I’ve written about the very excellent Cloudflare CDN before.  It’s a fantastic content delivery network with inbuilt security, I love it.  This is another quick howto to get your Nginx web server working properly with Cloudflare.

I will assume you already have a working LEMP server working.

Continue reading →