summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/reset/firewall/group/address-group/node.def1
-rw-r--r--templates/reset/firewall/group/address-group/node.tag/node.def2
-rw-r--r--templates/reset/firewall/group/network-group/node.def1
-rw-r--r--templates/reset/firewall/group/network-group/node.tag/node.def2
-rw-r--r--templates/reset/firewall/group/node.def2
-rw-r--r--templates/reset/firewall/group/port-group/node.def1
-rw-r--r--templates/reset/firewall/group/port-group/node.tag/node.def2
-rw-r--r--templates/reset/firewall/node.def1
8 files changed, 12 insertions, 0 deletions
diff --git a/templates/reset/firewall/group/address-group/node.def b/templates/reset/firewall/group/address-group/node.def
new file mode 100644
index 0000000..cdd7faa
--- /dev/null
+++ b/templates/reset/firewall/group/address-group/node.def
@@ -0,0 +1 @@
+help: reset a firewall group
diff --git a/templates/reset/firewall/group/address-group/node.tag/node.def b/templates/reset/firewall/group/address-group/node.tag/node.def
new file mode 100644
index 0000000..e6ab418
--- /dev/null
+++ b/templates/reset/firewall/group/address-group/node.tag/node.def
@@ -0,0 +1,2 @@
+help: reset a firewall group
+run: /opt/vyatta/bin/sudo-users/vyatta-ipset.pl --action=reset-set --set-name=$5 --set-type="address"
diff --git a/templates/reset/firewall/group/network-group/node.def b/templates/reset/firewall/group/network-group/node.def
new file mode 100644
index 0000000..cdd7faa
--- /dev/null
+++ b/templates/reset/firewall/group/network-group/node.def
@@ -0,0 +1 @@
+help: reset a firewall group
diff --git a/templates/reset/firewall/group/network-group/node.tag/node.def b/templates/reset/firewall/group/network-group/node.tag/node.def
new file mode 100644
index 0000000..deead22
--- /dev/null
+++ b/templates/reset/firewall/group/network-group/node.tag/node.def
@@ -0,0 +1,2 @@
+help: reset a firewall group
+run: /opt/vyatta/bin/sudo-users/vyatta-ipset.pl --action=reset-set --set-name=$5 --set-type="network"
diff --git a/templates/reset/firewall/group/node.def b/templates/reset/firewall/group/node.def
new file mode 100644
index 0000000..2c7f7d9
--- /dev/null
+++ b/templates/reset/firewall/group/node.def
@@ -0,0 +1,2 @@
+help: reset a firewall group
+run: /opt/vyatta/bin/sudo-users/vyatta-ipset.pl --action=reset-set --set-name=all
diff --git a/templates/reset/firewall/group/port-group/node.def b/templates/reset/firewall/group/port-group/node.def
new file mode 100644
index 0000000..cdd7faa
--- /dev/null
+++ b/templates/reset/firewall/group/port-group/node.def
@@ -0,0 +1 @@
+help: reset a firewall group
diff --git a/templates/reset/firewall/group/port-group/node.tag/node.def b/templates/reset/firewall/group/port-group/node.tag/node.def
new file mode 100644
index 0000000..f2b06c7
--- /dev/null
+++ b/templates/reset/firewall/group/port-group/node.tag/node.def
@@ -0,0 +1,2 @@
+help: reset a firewall group
+run: /opt/vyatta/bin/sudo-users/vyatta-ipset.pl --action=reset-set --set-name=$5 --set-type="port"
diff --git a/templates/reset/firewall/node.def b/templates/reset/firewall/node.def
new file mode 100644
index 0000000..cdd7faa
--- /dev/null
+++ b/templates/reset/firewall/node.def
@@ -0,0 +1 @@
+help: reset a firewall group