Update port for service

This commit is contained in:
2018-11-01 01:34:32 +08:00
parent c544e08f2c
commit f880ab2ebe
3 changed files with 3 additions and 3 deletions

View File

@ -24,4 +24,4 @@ WORKDIR /app
CMD bash docker-entrypoint.sh
EXPOSE 22
EXPOSE 2200

View File

@ -8,6 +8,6 @@
sudo docker run --device=/dev/ppp \
--cap-add=NET_ADMIN \
--restart=always \
-p 55355:22 pinlin/gectunnel
-p 65356:2200 pinlin/gectunnel
```

View File

@ -6,6 +6,6 @@ sleep 3s
while true
do
ssh -o "ExitOnForwardFailure yes" -NL 22:192.168.80.240:22 localhost
ssh -o "ExitOnForwardFailure yes" -NL 2200:192.168.80.240:22 localhost
sleep 1s
done