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
Problem with iptables -L
How To Set Up a Firewall Using Iptables on Ubuntu 14.04
How the Iptables Firewall Works
Iptables Essentials: Common Firewall Rules and Commands
Friday, 30 December 2016
Subscribe to:
Post Comments (Atom)
PS: You should run "iptables -L -n -v" not just "iptables -L". The "-n" prevents rDNS lookups. The "-v" says that the interface names for each rule will be listed, without which you can't meaningfully review the ruleset!