How to setup a Gateway to Gateway VPN using IPSec on CentOS

window.dojoRequire(["mojo/signup-forms/Loader"], function(L) { L.start({"baseUrl":"mc.us15.list-manage.com","uuid":"3dfcff447b6ee598231eeb658","lid":"5c36081d06","uniqueMethods":true}) }) In this tutorial we will setup a gateway to gateway IPSec VPN using OpenSwan. The Scenario: The scenario we will…

Unable to Launch EMR Clusters with Cronjobs

The Issue: I was trying to Schedule the Launch of EMR Clusters using Cronjobs where I have noticed that it fails via cronjobs but passes via cli. The reasoning behind this in my experience was that the PATH variable that…

Creating a BASH init startup script

Create a simple bash init script, and pass the arguments to stop or start a process. In this example we will use the init script to control tcpdump. Pre-Requisites: Create, and apply permissions. $ touch /etc/init.d/tcpmonitor $ chmod +x…

Secure Passwordless SSH using Keys

A quick post on how to setup passwordless ssh access between linux hosts. When generating a key pair, it provides you with a public and a private key. You can place the public key on any server, and then it…

Find Command in Linux

Post on the find command in Linux. Find files modified in the last 7 days: find /opt/ -mtime +7 Finding Files: find /opt/ -type f -name "abc*" Finding Directories: find /opt/ -type d -name "abc*" Find…