All posts tagged ubuntu

Easy(ish) IPSec VPN with Shared ECDSA Certificates for Host to Host Connections


Let me start off by saying that using certificates for your IPSec VPNs adds another layer of complexity onto your connections. However what I’ve tried to do is to make this how to guide as easy to follow as I possibly can.

By using certificates we can negate the requirements to use pre shared keys and thus are considered more secure and if we have lots of tunnels it means we don’t have to worry about having a separate key for each connection therefore providing a great deal of scalability.

Continue reading →

How to Create a Site to Host VPN on Ubuntu for AWS, Azure and Linode with pfsense


This tutorial will guide you through setting up a VPN from your pfsense firewall router, to your Ubuntu server hosted in the cloud.  Many of these vendors have the capability to setup a site to site VPN through the control panels, but this tutorial doesn’t require anything except for an external IP address on your Linux box.
Continue reading →

How to DNSPerf on Ubuntu 14.04 with Installation and Quick Start


It’s a shame that we don’t have the very awesome DNSPerf available in the Ubuntu repositories, however it’s very easy to install and well worth the small effort of compiling it from source if you are wanting to test the performance or stress test your DNS servers.

Continue reading →

IPSec VPN Host to Host on Windows 2012 R2 and Ubuntu 14.04


After one of my recent tutorials about a host to host Linux VPN this post is a how to create a host to host VPN between Windows 2012 and Ubuntu 14.04.  We’ll be using the inbuilt Windows Firewall with Advanced Security and Strongswan.

A lot like my last tutorial I couldn’t find any decent information out there how to get an IPSec connection between Microsoft and Linux, but since IPSec is an open standard I was confident it should work. After spending a lot of time working through how to do this I decided to write this post to hopefully help other people out in the same situation.

Continue reading →

An Immature Way to Use Sudo

Control versus Escape
[email protected]:~$ apt-get update
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
[email protected]:~$ alias flipping=sudo
[email protected]:~$ flipping apt-get update
Fetched 3,214 kB in 2s (1,167 kB/s)
Reading package lists... Done
[email protected]:~$ unalias flipping
[email protected]:~$ :)

And who says swearing at computers isn’t fun…