Skip to content

Instantly share code, notes, and snippets.

View sharethewisdom's full-sized avatar

Bart De Roy sharethewisdom

  • Belgium
View GitHub Profile
@sharethewisdom
sharethewisdom / iptables_rules.sh
Created December 12, 2016 22:04 — forked from virtualstaticvoid/iptables_rules.sh
25 Most Frequently Used Linux IPTables Rules Examples
# Modify this file accordingly for your specific requirement.
# http://www.thegeekstuff.com
# 1. Delete all existing rules
iptables -F
# 2. Set default chain policies
iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -P OUTPUT DROP