diff options
Diffstat (limited to 'templates-op/show/nat')
4 files changed, 12 insertions, 8 deletions
diff --git a/templates-op/show/nat/translations/destination/monitor/detail/node.def b/templates-op/show/nat/translations/destination/monitor/detail/node.def index f1d196f..5f8cb0b 100644 --- a/templates-op/show/nat/translations/destination/monitor/detail/node.def +++ b/templates-op/show/nat/translations/destination/monitor/detail/node.def @@ -1,3 +1,4 @@ help: Show active NAT destination translations events detail -run: echo Type control-C to quit - sudo /usr/sbin/conntrack -E -g -o xml | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=dnat --pipe --verbose | ${VYATTA_PAGER:-cat} +run: LESSOPEN=cat + echo Type control-C to quit + sudo /usr/sbin/conntrack -E -g -o xml | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=dnat --pipe --verbose diff --git a/templates-op/show/nat/translations/destination/monitor/node.def b/templates-op/show/nat/translations/destination/monitor/node.def index 99cf715..4b51368 100644 --- a/templates-op/show/nat/translations/destination/monitor/node.def +++ b/templates-op/show/nat/translations/destination/monitor/node.def @@ -1,3 +1,4 @@ help: Show active NAT destination translations events -run: echo Type control-C to quit - sudo /usr/sbin/conntrack -E -g -o xml | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=dnat --pipe | ${VYATTA_PAGER:-cat} +run: LESSOPEN=cat + echo Type control-C to quit + sudo /usr/sbin/conntrack -E -g -o xml | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=dnat --pipe diff --git a/templates-op/show/nat/translations/source/monitor/detail/node.def b/templates-op/show/nat/translations/source/monitor/detail/node.def index cadd4bf..4d69843 100644 --- a/templates-op/show/nat/translations/source/monitor/detail/node.def +++ b/templates-op/show/nat/translations/source/monitor/detail/node.def @@ -1,3 +1,4 @@ help: Show active NAT source translations events -run: echo Type control-C to quit - sudo /usr/sbin/conntrack -E -n -o xml | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=snat --pipe --verbose | ${VYATTA_PAGER:-cat}
\ No newline at end of file +run: LESSOPEN=cat + echo Type control-C to quit + sudo /usr/sbin/conntrack -E -n -o xml | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=snat --pipe --verbose
\ No newline at end of file diff --git a/templates-op/show/nat/translations/source/monitor/node.def b/templates-op/show/nat/translations/source/monitor/node.def index b1fced2..2956935 100644 --- a/templates-op/show/nat/translations/source/monitor/node.def +++ b/templates-op/show/nat/translations/source/monitor/node.def @@ -1,3 +1,4 @@ help: Show active NAT source translations events -run: echo Type control-C to quit - sudo /usr/sbin/conntrack -E -n -o xml | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=snat --pipe | ${VYATTA_PAGER:-cat} +run: LESSOPEN=cat + echo Type control-C to quit + sudo /usr/sbin/conntrack -E -n -o xml | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=snat --pipe |