Update port for service
This commit is contained in:
@ -24,4 +24,4 @@ WORKDIR /app
|
||||
|
||||
CMD bash docker-entrypoint.sh
|
||||
|
||||
EXPOSE 22
|
||||
EXPOSE 2200
|
@ -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
|
||||
```
|
||||
|
||||
|
@ -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
|
Reference in New Issue
Block a user