summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/backups/firewall.2022_05_30_03_41_PM_1653918107.local20
-rw-r--r--data/backups/firewall.2022_05_30_03_42_PM_1653918123.local20
-rw-r--r--data/backups/firewall.2022_05_30_03_42_PM_1653918145.local20
-rwxr-xr-xdata/backups/firewall.2022_05_30_03_46_PM_1653918417.local50
-rw-r--r--data/backups/firewall.2022_05_30_03_47_PM_1653918430.local20
5 files changed, 0 insertions, 130 deletions
diff --git a/data/backups/firewall.2022_05_30_03_41_PM_1653918107.local b/data/backups/firewall.2022_05_30_03_41_PM_1653918107.local
deleted file mode 100644
index 5e4677f..0000000
--- a/data/backups/firewall.2022_05_30_03_41_PM_1653918107.local
+++ /dev/null
@@ -1,20 +0,0 @@
1#!/bin/sh
2# Used for private firewall rules
3
4# See how we were called.
5case "$1" in
6 start)
7 ## add your 'start' rules here
8 ;;
9 stop)
10 ## add your 'stop' rules here
11 ;;
12 reload)
13 $0 stop
14 $0 start
15 ## add your 'reload' rules here
16 ;;
17 *)
18 echo "Usage: $0 {start|stop|reload}"
19 ;;
20esac
diff --git a/data/backups/firewall.2022_05_30_03_42_PM_1653918123.local b/data/backups/firewall.2022_05_30_03_42_PM_1653918123.local
deleted file mode 100644
index 5e4677f..0000000
--- a/data/backups/firewall.2022_05_30_03_42_PM_1653918123.local
+++ /dev/null
@@ -1,20 +0,0 @@
1#!/bin/sh
2# Used for private firewall rules
3
4# See how we were called.
5case "$1" in
6 start)
7 ## add your 'start' rules here
8 ;;
9 stop)
10 ## add your 'stop' rules here
11 ;;
12 reload)
13 $0 stop
14 $0 start
15 ## add your 'reload' rules here
16 ;;
17 *)
18 echo "Usage: $0 {start|stop|reload}"
19 ;;
20esac
diff --git a/data/backups/firewall.2022_05_30_03_42_PM_1653918145.local b/data/backups/firewall.2022_05_30_03_42_PM_1653918145.local
deleted file mode 100644
index 5e4677f..0000000
--- a/data/backups/firewall.2022_05_30_03_42_PM_1653918145.local
+++ /dev/null
@@ -1,20 +0,0 @@
1#!/bin/sh
2# Used for private firewall rules
3
4# See how we were called.
5case "$1" in
6 start)
7 ## add your 'start' rules here
8 ;;
9 stop)
10 ## add your 'stop' rules here
11 ;;
12 reload)
13 $0 stop
14 $0 start
15 ## add your 'reload' rules here
16 ;;
17 *)
18 echo "Usage: $0 {start|stop|reload}"
19 ;;
20esac
diff --git a/data/backups/firewall.2022_05_30_03_46_PM_1653918417.local b/data/backups/firewall.2022_05_30_03_46_PM_1653918417.local
deleted file mode 100755
index 273dab3..0000000
--- a/data/backups/firewall.2022_05_30_03_46_PM_1653918417.local
+++ /dev/null
@@ -1,50 +0,0 @@
1#!/bin/sh
2#
3# IPFire Custom Firewall (icf)
4#
5# Github: https://github.com/Mnkey
6#
7# Loops over the local "rules.d/" subfolder files
8# Forwarding the (start/stop) command to every file
9# which extension is ".on". To enabled multiple
10# custom firewall rulesets!
11#
12# the configuration of the ipfire custom rules (ipfcr)
13# in the local "rules.d/*" sunfolder, is inside the
14# files themself!
15#
16# Use this at your OWN RISK. Not fully supported!
17#
18# License: GPL2
19#
20# icf v0.1 (c) 30 May 2022 code.monkeycat.com
21#
22# Nuff text...
23
24pwd=$PWD
25base=${PWD%/*/*}
26
27case "$1" in
28 start)
29 find $base/rules.d/ -maxdepth 1 -type f \( ! -name . \) -exec bash -c "{} $1" \;
30
31 ;;
32 stop)
33 find $base/rules.d/ -maxdepth 1 -type f \( ! -name . \) -exec bash -c "{} $1" \;
34
35 ;;
36 reload)
37 $0 stop
38 $0 start
39
40 ;;
41 flush)
42 iptables -t nat -F CUSTOMPREROUTING
43 iptables -t nat -F CUSTOMPOSTROUTING
44 iptables -F CUSTOMFORWARD
45
46 ;;
47 *)
48 echo "Usage: $0 {start|stop|reload|flush}"
49 ;;
50esac
diff --git a/data/backups/firewall.2022_05_30_03_47_PM_1653918430.local b/data/backups/firewall.2022_05_30_03_47_PM_1653918430.local
deleted file mode 100644
index 5e4677f..0000000
--- a/data/backups/firewall.2022_05_30_03_47_PM_1653918430.local
+++ /dev/null
@@ -1,20 +0,0 @@
1#!/bin/sh
2# Used for private firewall rules
3
4# See how we were called.
5case "$1" in
6 start)
7 ## add your 'start' rules here
8 ;;
9 stop)
10 ## add your 'stop' rules here
11 ;;
12 reload)
13 $0 stop
14 $0 start
15 ## add your 'reload' rules here
16 ;;
17 *)
18 echo "Usage: $0 {start|stop|reload}"
19 ;;
20esac