add port 61501 to Contec ports list and firewall rules
This commit is contained in:
+4
-3
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user