linux

A collection of 31 posts

Jul 11, 2017

My IPTables Configuration Script

I've talked quite a lot about iptables but haven't really shown how I actually put it into practice. Today I'll share a shell script I wrote to set up IPTables on my Fedora

May 10, 2017

Secure your infrastructure with SSH bastions

This tutorial will be a short and sweet introduction into setting up ssh bastion hosts. What is a SSH bastion: SSH bastions (jump hosts) are used to middleman SSH connections between isolated networks.

Feb 14, 2017

IPtables: Constructing user chains

Now that we are familiar with how iptables is organized we can start defining our own chains. This allows for greater control, flexibility, and in some cases, better efficiency. The most profound efficiency

Dec 13, 2016

Dynamic Rules with IPSet

Wouldn't it be good if port scanning IPs could trigger a rule that adds themselves to a 'known offenders' firewall list? Wouldn't it be good if you could combine white and black ACLs