From 405ae7c61647724eb11b0e4bd57797783c0febfd Mon Sep 17 00:00:00 2001 From: Jeffrey Serio Date: Wed, 26 Feb 2025 11:42:58 -0600 Subject: [PATCH] Add natpmpcd --- shell/natpmpcd | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 shell/natpmpcd diff --git a/shell/natpmpcd b/shell/natpmpcd new file mode 100644 index 0000000..c612a52 --- /dev/null +++ b/shell/natpmpcd @@ -0,0 +1,9 @@ +#!/bin/sh + +while true; do + if ! natpmpc -a 1 0 udp 60 -g 10.2.0.1 && natpmpc -a 1 0 tcp 60 -g 10.2.0.1; then + echo "ERROR with natpmpc command" + break + fi + sleep 45 +done