Skip to content

Instantly share code, notes, and snippets.

@dragosperca
dragosperca / iptables.sh
Last active January 7, 2016 13:27 — forked from sandcastle/iptables.sh
Default firewall configuration using iptables for a fresh Ubuntu 14.04 server.
#!/bin/sh -x
# ==================================
# iptables default configuration script
#
# - this locks down our servers port access
# ==================================
# install fail2ban
sudo apt-get update