From 72b8eb4ac66a5db2848db804faca7ec56c15aab0 Mon Sep 17 00:00:00 2001 From: Nicolas Fort Date: Thu, 2 Nov 2023 22:46:02 +0000 Subject: T5513: opmode command show firewall - Manual backport --- op-mode-definitions/nat66.xml.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'op-mode-definitions') 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 @@ Show configured source NAT66 rules - ${vyos_op_scripts_dir}/nat.py show_rules --direction source --family inet6 + sudo ${vyos_op_scripts_dir}/nat.py show_rules --direction source --family inet6 @@ -39,7 +39,7 @@ sudo ${vyos_op_scripts_dir}/nat.py show_translations --direction source --family inet6 --address "$6" - ${vyos_op_scripts_dir}/nat.py show_translations --direction source --family inet6 + sudo ${vyos_op_scripts_dir}/nat.py show_translations --direction source --family inet6 @@ -52,7 +52,7 @@ Show configured destination NAT66 rules - ${vyos_op_scripts_dir}/nat.py show_rules --direction destination --family inet6 + sudo ${vyos_op_scripts_dir}/nat.py show_rules --direction destination --family inet6 @@ -75,7 +75,7 @@ sudo ${vyos_op_scripts_dir}/nat.py show_translations --direction destination --family inet6 --address "$6" - ${vyos_op_scripts_dir}/nat.py show_translations --direction destination --family inet6 + sudo ${vyos_op_scripts_dir}/nat.py show_translations --direction destination --family inet6 -- cgit v1.2.3