sculley | Sysadmin, Cloud & Cryptocurrency Blog

Cisco ASA 8.3+ – Configuring NAT For Internet Access

Create object to define subnet/hosts which will be have NAT configured so they can access the internet.

Now we need to add the NAT rule to the object we created for the hosts...

OpenLDAP – Installing/Configuring OpenLDAP 2.4 on CentOS 7

Introduction LDAP stands for Lightweight Directory Access Protocol. As the name suggests, it is a lightweight protocol for accessing directory services, specifically X.500-based directory services. LDAP runs over TCP/IP or other connection oriented transfer...

OpenLDAP – Configuring OpenSSH Public Key Authentication

Introduction OpenSSH server supports the AuthorizedKeysCommand option. With this option in the sshd_config file one can call an additional script that gets the public key from LDAP using theOpenSSH-LDAP schema, and the sshPublicKey attribute...

Cisco – Enabling SSH

Secure Shell (SSH) is a protocol which provides a secure remote access connection to network devices. Communication between the client and server is encrypted in both SSH version 1 and SSH version 2. Implement...

Cisco – Reset Cisco Catalyst 3750 To Factory Default

Resetting a Cisco Catalyst 3750 Switch to factory defaults is straight forward. At the console entering the following commands. Delete VLAN Configurations

Delete Startup Configuration

Reload Switch


Linux – Configuring Message Of The Day (MOTD)

Linux – Configuring Message Of The Day (MOTD)

There are two places you can configure a MOTD on most Linux systems. The following have been tested on Red Hat/CentOS/Amazon Linux To display a basic text MOTD when connecting to your system. You can...

Ansible – Distribution Specifiers

Ansible allows you to execute actions only if you are on a certain distribution. You can verify a hosts facts with Ansible by issuing the following command;

This will return facts such as the...

AWS – Invalid VPC Peering Models

AWS – Invalid VPC Peering Models

Below are some examples of invalid AWS VPC Peering models. Edge to Edge Routing Through a VPN Connection or an AWS Direct Connect Connection If you’re thinking of connecting to multiple VPC’s through the...

AWS – NAT Gateways

AWS – NAT Gateways

This article is focused around Amazon Web Services (AWS) NAT Gateways and how you can utilise them in your environments to provide security in/out of your VPC network in AWS.