From 62b86071c6b549ca13c828ecf2619e2ba7750d7b Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 22 May 2020 13:28:25 +0200 Subject: nat: T2460: migrate to new Python implementation --- op-mode-definitions/nat.xml | 196 ++++++++++++++++++++++---------------------- 1 file changed, 98 insertions(+), 98 deletions(-) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/nat.xml b/op-mode-definitions/nat.xml index ffaa2cba3..f6c0fa748 100644 --- a/op-mode-definitions/nat.xml +++ b/op-mode-definitions/nat.xml @@ -1,98 +1,98 @@ - - - - - - - Show Network Address Translation (NAT) information - - - - - Show source Network Address Translation (NAT) information - - - - - Show configured source NAT rules - - echo To be migrated to Python - https://phabricator.vyos.net/T2459 - - - - Show statistics for configured source NAT rules - - ${vyos_op_scripts_dir}/show_nat_statistics.py --source - - - - Show active source NAT translations - - - - - Show active source NAT translations for an IP address - - <x.x.x.x> - - - ${vyos_op_scripts_dir}/to_be_migrated/vyatta-nat-translations.pl --type=source --verbose --ipaddr="$6" - - - - Show active source NAT translations detail - - ${vyos_op_scripts_dir}/to_be_migrated/vyatta-nat-translations.pl --type=source --verbose - - - ${vyos_op_scripts_dir}/to_be_migrated/vyatta-nat-translations.pl --type=source - - - - - - Show destination Network Address Translation (NAT) information - - - - - Show configured destination NAT rules - - echo To be migrated to Python - https://phabricator.vyos.net/T2459 - - - - Show statistics for configured destination NAT rules - - ${vyos_op_scripts_dir}/show_nat_statistics.py --destination - - - - Show active destination NAT translations - - - - - Show active NAT destination translations for an IP address - - <x.x.x.x> - - - ${vyos_op_scripts_dir}/to_be_migrated/vyatta-nat-translations.pl --type=destination --verbose --ipaddr="$6" - - - - Show active destination NAT translations detail - - ${vyos_op_scripts_dir}/to_be_migrated/vyatta-nat-translations.pl --type=destination --verbose - - - ${vyos_op_scripts_dir}/to_be_migrated/vyatta-nat-translations.pl --type=destination - - - - - - - - + + + + + + + Show Network Address Translation (NAT) information + + + + + Show source Network Address Translation (NAT) information + + + + + Show configured source NAT rules + + echo To be migrated to Python - https://phabricator.vyos.net/T2459 + + + + Show statistics for configured source NAT rules + + ${vyos_op_scripts_dir}/show_nat_statistics.py --source + + + + Show active source NAT translations + + + + + Show active source NAT translations for an IP address + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/show_nat_translations.py --type=source --verbose --ipaddr="$6" + + + + Show active source NAT translations detail + + ${vyos_op_scripts_dir}/show_nat_translations.py --type=source --verbose + + + ${vyos_op_scripts_dir}/show_nat_translations.py --type=source + + + + + + Show destination Network Address Translation (NAT) information + + + + + Show configured destination NAT rules + + echo To be migrated to Python - https://phabricator.vyos.net/T2459 + + + + Show statistics for configured destination NAT rules + + ${vyos_op_scripts_dir}/show_nat_statistics.py --destination + + + + Show active destination NAT translations + + + + + Show active NAT destination translations for an IP address + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/show_nat_translations.py --type=destination --verbose --ipaddr="$6" + + + + Show active destination NAT translations detail + + ${vyos_op_scripts_dir}/show_nat_translations.py --type=destination --verbose + + + ${vyos_op_scripts_dir}/show_nat_translations.py --type=destination + + + + + + + + -- cgit v1.2.3