Friday, 30 December 2016

IPTABLES refresher

Needed to activate iptables on an Ubuntu server on DigitalOcean.  Found some excellent write-ups on the DO site, to solve an initial problem running 'iptables -L' and to summarise the basic stuff - including the use of "conntrack" to make the rules properly stateful rather than just noddy.

TL;DR: if "iptables -L" mutters something about "no such file or directory", you need to
  • sudo apt-get install linux-image-$(uname -r)
  • More info in the links below...