summaryrefslogtreecommitdiff
path: root/templates/show/log/nat/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show/log/nat/node.def')
-rw-r--r--templates/show/log/nat/node.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/show/log/nat/node.def b/templates/show/log/nat/node.def
new file mode 100644
index 0000000..22f70d3
--- /dev/null
+++ b/templates/show/log/nat/node.def
@@ -0,0 +1,2 @@
+help: Show log for Network Address Translation (NAT)
+run: cat $(printf "%s\n" /var/log/messages* | sort -nr) | grep -e "\[NAT-[0-9]*-*\]"