Snippets

idontwatchtv iptables wipe clean, open

Created by Justin C

File shields-down.sh Added

  • Ignore whitespace
  • Hide word diff
+#!/bin/sh
+echo "Flushing firewall rules..."  
+iptables -F  
+iptables -X  
+iptables -t nat -F  
+iptables -t nat -X  
+iptables -t mangle -F  
+iptables -t mangle -X  
+iptables -P INPUT ACCEPT  
+iptables -P FORWARD ACCEPT  
+iptables -P OUTPUT ACCEPT 
HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.