Skip to content

Instantly share code, notes, and snippets.

View dunice's full-sized avatar

Hudson Dunice dunice

  • Brasilia, Brazil
View GitHub Profile
# 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