diff --git a/Dockerfile b/Dockerfile index d6cd5df..4666d3c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,4 +24,4 @@ WORKDIR /app CMD bash docker-entrypoint.sh -EXPOSE 22 \ No newline at end of file +EXPOSE 2200 \ No newline at end of file diff --git a/README.md b/README.md index 6b205ab..c81c01a 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index bf08bb0..4153644 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -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 \ No newline at end of file