Monthly Archives: January 2016

TWO-STEP AUTHENTICATION FOR SSH ON CENTOS 6 USING GOOGLE AUTHENTICATOR

Google Authenticator implements TOTP (timebased one-time-password) security tokens from RFC6238 via the Google mobile app Google Authenticator. The Authenticator provides a six digit one-time password users must provide in addition to their username and password to login, sometimes branded “two-step authentication”. Here, we install and configure a pluggable authentication module (PAM) which allows login using… Read More »

Unable to mount samba share in Clonezilla

Sometimes Clonezilla won’t let me mount a shared folder on my laptop running Windows 7 so I decided to find out why and fix it. My laptop is an Active Directory domain member and I was using a cross-over cable to connect it to the laptop I wanted to backup. Also the domain was not… Read More »

OpenVPN

Contents Overview What is a bridged VPN? Setting up a Bridged VPN using OpenVPN Installing the Server Setting up the Bridge Generating Certificates Configuring the Server Pre-systemd setup systemd setup Firewall notes Getting Clients Connected Generating Client Certificate and Key Configuring the Client Firestarter configuration for OpenVPN Other Resources Overview OpenVPN is a Virtual Private… Read More »

How To Set Up an OpenVPN Server on Ubuntu 14.04

Introduction Want to access the Internet safely and securely from your smartphone or laptop when connected to an untrusted network such as the WiFi of a hotel or coffee shop? A Virtual Private Network (VPN) allows you to traverse untrusted networks privately and securely to your DigitalOcean Droplet as if you were on a secure… Read More »

ElasticSearch – Configuration

Environment Variablesedit Within the scripts, Elasticsearch comes with built in JAVA_OPTS passed to the JVM started. The most important setting for that is the -Xmx to control the maximum allowed memory for the process, and -Xmsto control the minimum allocated memory for the process (in general, the more memory allocated to the process, the better).… Read More »