diff options
author | Christian Breunig <christian@breunig.cc> | 2023-10-29 14:50:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-29 14:50:07 +0100 |
commit | 8c71f1360c6b28194ab21053e3ec1e5810ccb83a (patch) | |
tree | b0838a0818ebcbb9e7d8d0c9a87cc767c186e06a /op-mode-definitions | |
parent | 78e00bf4099bfac2164ef2075acce8169c40c9c3 (diff) | |
parent | cd5316c266656e1532c0a2166ba892bd1c807743 (diff) | |
download | vyos-1x-8c71f1360c6b28194ab21053e3ec1e5810ccb83a.tar.gz vyos-1x-8c71f1360c6b28194ab21053e3ec1e5810ccb83a.zip |
Merge pull request #2408 from nicolas-fort/T5513-show-fwall
T5513: firewall: update op-mode command show firewall.
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/nat66.xml.in | 8 |
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> |