summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2023-11-03 17:04:56 +0000
committerGitHub <noreply@github.com>2023-11-03 17:04:56 +0000
commit1512d64c929fbb8de37a2d5b816e352e5942bfe0 (patch)
treefa9f24f68312cd450642ae3f5d4c480c149b88b3 /op-mode-definitions
parent8391fb5f2c3db32a925f23c3df4fa08d4980c252 (diff)
parent72b8eb4ac66a5db2848db804faca7ec56c15aab0 (diff)
downloadvyos-1x-1512d64c929fbb8de37a2d5b816e352e5942bfe0.tar.gz
vyos-1x-1512d64c929fbb8de37a2d5b816e352e5942bfe0.zip
Merge pull request #2432 from nicolas-fort/T5513-fwall-show-sagitta
T5513: firewall - op-mode command backport
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/nat66.xml.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/op-mode-definitions/nat66.xml.in b/op-mode-definitions/nat66.xml.in
index 6a8a39000..4df20d847 100644
--- a/op-mode-definitions/nat66.xml.in
+++ b/op-mode-definitions/nat66.xml.in
@@ -16,7 +16,7 @@
<properties>
<help>Show configured source NAT66 rules</help>
</properties>
- <command>${vyos_op_scripts_dir}/nat.py show_rules --direction source --family inet6</command>
+ <command>sudo ${vyos_op_scripts_dir}/nat.py show_rules --direction source --family inet6</command>
</node>
<node name="statistics">
<properties>
@@ -39,7 +39,7 @@
<command>sudo ${vyos_op_scripts_dir}/nat.py show_translations --direction source --family inet6 --address "$6"</command>
</tagNode>
</children>
- <command>${vyos_op_scripts_dir}/nat.py show_translations --direction source --family inet6</command>
+ <command>sudo ${vyos_op_scripts_dir}/nat.py show_translations --direction source --family inet6</command>
</node>
</children>
</node>
@@ -52,7 +52,7 @@
<properties>
<help>Show configured destination NAT66 rules</help>
</properties>
- <command>${vyos_op_scripts_dir}/nat.py show_rules --direction destination --family inet6</command>
+ <command>sudo ${vyos_op_scripts_dir}/nat.py show_rules --direction destination --family inet6</command>
</node>
<node name="statistics">
<properties>
@@ -75,7 +75,7 @@
<command>sudo ${vyos_op_scripts_dir}/nat.py show_translations --direction destination --family inet6 --address "$6"</command>
</tagNode>
</children>
- <command>${vyos_op_scripts_dir}/nat.py show_translations --direction destination --family inet6</command>
+ <command>sudo ${vyos_op_scripts_dir}/nat.py show_translations --direction destination --family inet6</command>
</node>
</children>
</node>