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