Added all server files

This commit is contained in:
2025-06-17 10:49:30 +01:00
parent 2afbe19ee5
commit 1bad013ff2
5 changed files with 89 additions and 50 deletions

View File

@@ -0,0 +1,4 @@
#!/bin/sh
upnpc -l | sed -n 's/^[[:space:]]*[0-9]\+\s\+\(TCP\|UDP\)\s\+\([0-9]\+\).*/\1 \2/p' | while read proto port; do
upnpc -d "$port" "$proto"
done