Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Limit forwarded SISH TCP ports to 100 (#2782)

Dennis Kuijs009025b8b3a0
diff --git a/profile/deploy.yml b/profile/deploy.yml
index e12b8f0b4..89ba415be 100644
--- a/profile/deploy.yml
+++ b/profile/deploy.yml
@@ -515,7 +515,7 @@ services:
test: ["CMD", "/app/app", "-v"]
ports:
- "2222:2222"
- - "9000-10000:9000-10000"
+ - "9000-9100:9000-9100"
volumes:
- proxy-data:/etc/letsencrypt
- deployment-data:/deployment
@@ -529,7 +529,7 @@ services:
--idle-connection=false
--authentication-keys-directory=/deployment/sish/pubkeys
--private-keys-directory=/deployment/sish/keys
- --port-bind-range="9000-10000"
+ --port-bind-range="9000-9100"
--bind-random-ports=false
--bind-random-subdomains=false
--domain=${OR_HOSTNAME}