From 9224e79eeaa9d509b21381c73ffe1f36efc06687 Mon Sep 17 00:00:00 2001 From: octeep Date: Sun, 3 Apr 2022 10:10:35 +0100 Subject: [PATCH 1/2] Update Dockerfile #32 --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index eb97394..c435176 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -11,4 +11,4 @@ RUN apk upgrade COPY --from=go-build /go/wireproxy/wireproxy /usr/bin/ VOLUME [ "/etc/wireproxy"] -ENTRYPOINT [ "/usr/bin/wireproxy", "/etc/wireproxy/config" ] +ENTRYPOINT [ "/usr/bin/wireproxy", "--config", "/etc/wireproxy/config" ] From 6bdeffe3f2a603cadbfd0ad36c9657043200637b Mon Sep 17 00:00:00 2001 From: octeep Date: Sun, 3 Apr 2022 19:35:08 +0100 Subject: [PATCH 2/2] Add IPv6 support --- wireguard.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wireguard.go b/wireguard.go index db38ca3..901945a 100644 --- a/wireguard.go +++ b/wireguard.go @@ -24,7 +24,8 @@ public_key=%s endpoint=%s persistent_keepalive_interval=%d preshared_key=%s -allowed_ip=0.0.0.0/0`, conf.SelfSecretKey, conf.PeerPublicKey, conf.PeerEndpoint, conf.KeepAlive, conf.PreSharedKey) +allowed_ip=0.0.0.0/0 +allowed_ip=::0/0`, conf.SelfSecretKey, conf.PeerPublicKey, conf.PeerEndpoint, conf.KeepAlive, conf.PreSharedKey) setting := &DeviceSetting{ipcRequest: request, dns: conf.DNS, deviceAddr: conf.SelfEndpoint, mtu: conf.MTU} return setting, nil