add port 61501 to Contec ports list and firewall rules

This commit is contained in:
2026-09-21 14:26:15 +05:30
parent 68edb0b224
commit a7999add61
3 changed files with 6 additions and 5 deletions
+4 -3
View File
@@ -32,10 +32,11 @@ if [ -f "${WORKING_DIR}/requirements.txt" ]; then
"${WORKING_DIR}/venv/bin/pip" install -r "${WORKING_DIR}/requirements.txt"
fi
# Open firewall ports for Contec monitor (Port 511) and Web API (Port 8006)
# Open firewall ports for Contec monitor (Port 511, 61501) and Web API (Port 8006)
if command -v ufw >/dev/null 2>&1; then
echo "=== Configuring firewall (UFW) for Port 511 and 8006 ==="
sudo ufw allow 511/tcp comment "Contec Patient Monitor CMS TCP" || true
echo "=== Configuring firewall (UFW) for Port 511, 61501, and 8006 ==="
sudo ufw allow 511/tcp comment "Contec Patient Monitor CMS TCP 511" || true
sudo ufw allow 61501/tcp comment "Contec Patient Monitor CMS TCP 61501" || true
sudo ufw allow 8006/tcp comment "Contec Forwarder HTTP API" || true
fi