summaryrefslogtreecommitdiff
path: root/templates/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'templates/interfaces')
-rw-r--r--templates/interfaces/ethernet/node.tag/firewall/in/name/node.def6
-rw-r--r--templates/interfaces/ethernet/node.tag/firewall/local/name/node.def6
-rw-r--r--templates/interfaces/ethernet/node.tag/firewall/out/name/node.def6
-rw-r--r--templates/interfaces/ethernet/node.tag/vif/node.tag/firewall/in/name/node.def6
-rw-r--r--templates/interfaces/ethernet/node.tag/vif/node.tag/firewall/local/name/node.def6
-rw-r--r--templates/interfaces/ethernet/node.tag/vif/node.tag/firewall/out/name/node.def6
6 files changed, 18 insertions, 18 deletions
diff --git a/templates/interfaces/ethernet/node.tag/firewall/in/name/node.def b/templates/interfaces/ethernet/node.tag/firewall/in/name/node.def
index c3e58b7..3d6edc0 100644
--- a/templates/interfaces/ethernet/node.tag/firewall/in/name/node.def
+++ b/templates/interfaces/ethernet/node.tag/firewall/in/name/node.def
@@ -2,13 +2,13 @@ type: txt
help: "Inbound interface filter name"
create: "sh -c \"echo create eth=[$(../../..)] dir=[$(..)] name=[$(@)] \
>> /tmp/cli.log && \
-/opt/vyatta/sbin/vyatta-firewall.pl \
+sudo /opt/vyatta/sbin/vyatta-firewall.pl \
--update-interfaces update $(../../..) $(..) $(@)\" "
update: "sh -c \"echo update eth=[$(../../..)] dir=[$(..)] name=[$(@)] \
>> /tmp/cli.log && \
-/opt/vyatta/sbin/vyatta-firewall.pl \
+sudo /opt/vyatta/sbin/vyatta-firewall.pl \
--update-interfaces update $(../../..) $(..) $(@)\" "
delete: "sh -c \"echo delete eth=[$(../../..)] dir=[$(..)] name=[$(@)] \
>> /tmp/cli.log && \
-/opt/vyatta/sbin/vyatta-firewall.pl \
+sudo /opt/vyatta/sbin/vyatta-firewall.pl \
--update-interfaces delete $(../../..) $(..) $(@)\" "
diff --git a/templates/interfaces/ethernet/node.tag/firewall/local/name/node.def b/templates/interfaces/ethernet/node.tag/firewall/local/name/node.def
index e0a2fa5..b359d0b 100644
--- a/templates/interfaces/ethernet/node.tag/firewall/local/name/node.def
+++ b/templates/interfaces/ethernet/node.tag/firewall/local/name/node.def
@@ -2,13 +2,13 @@ type: txt
help: "Local filter name"
create: "sh -c \"echo create eth=[$(../../..)] dir=[$(..)] name=[$(@)] \
>> /tmp/cli.log && \
-/opt/vyatta/sbin/vyatta-firewall.pl \
+sudo /opt/vyatta/sbin/vyatta-firewall.pl \
--update-interfaces update $(../../..) $(..) $(@)\" "
update: "sh -c \"echo update eth=[$(../../..)] dir=[$(..)] name=[$(@)] \
>> /tmp/cli.log && \
-/opt/vyatta/sbin/vyatta-firewall.pl \
+sudo /opt/vyatta/sbin/vyatta-firewall.pl \
--update-interfaces update $(../../..) $(..) $(@)\" "
delete: "sh -c \"echo delete eth=[$(../../..)] dir=[$(..)] name=[$(@)] \
>> /tmp/cli.log && \
-/opt/vyatta/sbin/vyatta-firewall.pl \
+sudo /opt/vyatta/sbin/vyatta-firewall.pl \
--update-interfaces delete $(../../..) $(..) $(@)\" "
diff --git a/templates/interfaces/ethernet/node.tag/firewall/out/name/node.def b/templates/interfaces/ethernet/node.tag/firewall/out/name/node.def
index 9828c9c..6f76fdb 100644
--- a/templates/interfaces/ethernet/node.tag/firewall/out/name/node.def
+++ b/templates/interfaces/ethernet/node.tag/firewall/out/name/node.def
@@ -2,13 +2,13 @@ type: txt
help: "Outbound interface filter name"
create: "sh -c \"echo create eth=[$(../../..)] dir=[$(..)] name=[$(@)] \
>> /tmp/cli.log && \
-/opt/vyatta/sbin/vyatta-firewall.pl \
+sudo /opt/vyatta/sbin/vyatta-firewall.pl \
--update-interfaces update $(../../..) $(..) $(@)\" "
update: "sh -c \"echo update eth=[$(../../..)] dir=[$(..)] name=[$(@)] \
>> /tmp/cli.log && \
-/opt/vyatta/sbin/vyatta-firewall.pl \
+sudo /opt/vyatta/sbin/vyatta-firewall.pl \
--update-interfaces update $(../../..) $(..) $(@)\" "
delete: "sh -c \"echo delete eth=[$(../../..)] dir=[$(..)] name=[$(@)] \
>> /tmp/cli.log && \
-/opt/vyatta/sbin/vyatta-firewall.pl \
+sudo /opt/vyatta/sbin/vyatta-firewall.pl \
--update-interfaces delete $(../../..) $(..) $(@)\" "
diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/firewall/in/name/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/firewall/in/name/node.def
index 10ee0bb..3477429 100644
--- a/templates/interfaces/ethernet/node.tag/vif/node.tag/firewall/in/name/node.def
+++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/firewall/in/name/node.def
@@ -2,13 +2,13 @@ type: txt
help: "Inbound interface filter name"
create: "sh -c \"echo create eth=[$(../../../../..)] vif=[$(../../..)] \
dir=[$(..)] name=[$(@)] >> /tmp/cli.log && \
-/opt/vyatta/sbin/vyatta-firewall.pl \
+sudo /opt/vyatta/sbin/vyatta-firewall.pl \
--update-interfaces update $(../../../../..).$(../../..) $(..) $(@)\" "
update: "sh -c \"echo update eth=[$(../../../../..)] vif=[$(../../..)] \
dir=[$(..)] name=[$(@)] >> /tmp/cli.log && \
-/opt/vyatta/sbin/vyatta-firewall.pl \
+sudo /opt/vyatta/sbin/vyatta-firewall.pl \
--update-interfaces update $(../../../../..).$(../../..) $(..) $(@)\" "
delete: "sh -c \"echo delete eth=[$(../../../../..)] vif=[$(../../..)] \
dir=[$(..)] name=[$(@)] >> /tmp/cli.log && \
-/opt/vyatta/sbin/vyatta-firewall.pl \
+sudo /opt/vyatta/sbin/vyatta-firewall.pl \
--update-interfaces delete $(../../../../..).$(../../..) $(..) $(@)\" "
diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/firewall/local/name/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/firewall/local/name/node.def
index d8dfd8b..fbc5602 100644
--- a/templates/interfaces/ethernet/node.tag/vif/node.tag/firewall/local/name/node.def
+++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/firewall/local/name/node.def
@@ -1,13 +1,13 @@
type: txt
help: "Local filter name"
create: "sh -c \"echo create eth=[$(../../../../..)] vif=[$(../../..)] \ dir=[$(..)] name=[$(@)] >> /tmp/cli.log && \
-/opt/vyatta/sbin/vyatta-firewall.pl \
+sudo /opt/vyatta/sbin/vyatta-firewall.pl \
--update-interfaces update $(../../../../..).$(../../..) $(..) $(@)\" "
update: "sh -c \"echo update eth=[$(../../../../..)] vif=[$(../../..)] \
dir=[$(..)] name=[$(@)] >> /tmp/cli.log && \
-/opt/vyatta/sbin/vyatta-firewall.pl \
+sudo /opt/vyatta/sbin/vyatta-firewall.pl \
--update-interfaces update $(../../../../..).$(../../..) $(..) $(@)\" "
delete: "sh -c \"echo delete eth=[$(../../../../..)] vif=[$(../../..)] \
dir=[$(..)] name=[$(@)] >> /tmp/cli.log && \
-/opt/vyatta/sbin/vyatta-firewall.pl \
+sudo /opt/vyatta/sbin/vyatta-firewall.pl \
--update-interfaces delete $(../../../../..).$(../../..) $(..) $(@)\" "
diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/firewall/out/name/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/firewall/out/name/node.def
index c3ec18a..a91ee13 100644
--- a/templates/interfaces/ethernet/node.tag/vif/node.tag/firewall/out/name/node.def
+++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/firewall/out/name/node.def
@@ -1,13 +1,13 @@
type: txt
help: "Outbound interface filter name"
create: "sh -c \"echo create eth=[$(../../../../..)] vif=[$(../../..)] \ dir=[$(..)] name=[$(@)] >> /tmp/cli.log && \
-/opt/vyatta/sbin/vyatta-firewall.pl \
+sudo /opt/vyatta/sbin/vyatta-firewall.pl \
--update-interfaces update $(../../../../..).$(../../..) $(..) $(@)\" "
update: "sh -c \"echo update eth=[$(../../../../..)] vif=[$(../../..)] \
dir=[$(..)] name=[$(@)] >> /tmp/cli.log && \
-/opt/vyatta/sbin/vyatta-firewall.pl \
+sudo /opt/vyatta/sbin/vyatta-firewall.pl \
--update-interfaces update $(../../../../..).$(../../..) $(..) $(@)\" "
delete: "sh -c \"echo delete eth=[$(../../../../..)] vif=[$(../../..)] \
dir=[$(..)] name=[$(@)] >> /tmp/cli.log && \
-/opt/vyatta/sbin/vyatta-firewall.pl \
+sudo /opt/vyatta/sbin/vyatta-firewall.pl \
--update-interfaces delete $(../../../../..).$(../../..) $(..) $(@)\" "