Add natpmpcd

This commit is contained in:
Jeffrey Serio 2025-02-26 11:42:58 -06:00
parent e7989a267d
commit 405ae7c616

9
shell/natpmpcd Normal file

@ -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