From 273078b03ec1527d4b61facca189058bb9bceebd Mon Sep 17 00:00:00 2001
From: ChiefGyk <alon@ganon.me>
Date: Tue, 28 Jun 2016 15:38:11 -0400
Subject: [PATCH] added IPTables persistence and for it to save changes

---
 conf/blocklist/sync-fail2ban | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/conf/blocklist/sync-fail2ban b/conf/blocklist/sync-fail2ban
index 3ee9c23a..3bec12b5 100644
--- a/conf/blocklist/sync-fail2ban
+++ b/conf/blocklist/sync-fail2ban
@@ -54,7 +54,8 @@ fi
 # prepare for next time.
 	diff -wbay $blacklistf.last $blacklistf  > $blacklistf.diff 
 
-
+# save IPtable rules
+invoke-rc.d iptables-persistent save