diff --git a/Dockerfile b/Dockerfile index 2fe6aef..3c69821 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:${GOLANG_VERSION}-alpine${A RUN apk add --update --no-cache git -RUN git clone --depth 1 --branch ${SWGPGO_BRANCH:-main} https://github.com/database64128/swgp-go /app +RUN git clone --depth 1 --branch v1.5.0 https://github.com/database64128/swgp-go /app WORKDIR /app/cmd/swgp-go diff --git a/sample/client.json b/sample/client.json index 195832c..7e1528d 100644 --- a/sample/client.json +++ b/sample/client.json @@ -2,10 +2,14 @@ "clients": [ { "name": "client", + "wgListenNetwork": "", "wgListen": ":20222", "wgFwmark": 0, "wgTrafficClass": 0, + "proxyEndpointNetwork": "", "proxyEndpoint": "[2001:db8::2]:20220", + "proxyConnListenNetwork": "", + "proxyConnListenAddress": "", "proxyMode": "zero-overhead", "proxyPSK": "sAe5RvzLJ3Q0Ll88QRM1N01dYk83Q4y0rXMP1i4rDmI=", "proxyFwmark": 0, diff --git a/sample/server.json b/sample/server.json index aea3117..a4a9061 100644 --- a/sample/server.json +++ b/sample/server.json @@ -2,12 +2,16 @@ "servers": [ { "name": "server", + "proxyListenNetwork": "", "proxyListen": ":20220", "proxyMode": "zero-overhead", "proxyPSK": "sAe5RvzLJ3Q0Ll88QRM1N01dYk83Q4y0rXMP1i4rDmI=", "proxyFwmark": 0, "proxyTrafficClass": 0, + "wgEndpointNetwork": "", "wgEndpoint": "[2001:db8::1]:20221", + "wgConnListenNetwork": "", + "wgConnListenAddress": "", "wgFwmark": 0, "wgTrafficClass": 0, "mtu": 1500,