-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f95b151
commit 80b7b93
Showing
11 changed files
with
31 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
FROM ghcr.io/cyberworm-uk/lyrebird:latest AS bin | ||
|
||
FROM ghcr.io/cyberworm-uk/torbase:latest | ||
LABEL org.opencontainers.image.base.name="ghcr.io/cyberworm-uk/torbase" | ||
FROM ghcr.io/cyberworm-uk/tor-base:latest | ||
LABEL org.opencontainers.image.base.name="ghcr.io/cyberworm-uk/tor-base" | ||
LABEL org.opencontainers.image.title="Obfs4 Bridge" | ||
LABEL org.opencontainers.image.description="Obfs4 (Lyrebird) Bridge" | ||
RUN apk --no-cache --no-interactive add libcap-utils | ||
EXPOSE 443 | ||
COPY --from=bin /lyrebird /usr/bin/lyrebird | ||
RUN setcap cap_net_bind_service=+ep /usr/bin/lyrebird | ||
ENTRYPOINT [ "/usr/bin/tor", "--bridgerelay", "1", "--servertransportplugin", "obfs4 exec /usr/bin/lyrebird", "--extorport", "auto", "--servertransportlistenaddr", "obfs4 0.0.0.0:443" ] | ||
ENTRYPOINT [ "/usr/bin/tor", \ | ||
"--bridgerelay", "1", \ | ||
"--servertransportplugin", "obfs4 exec /usr/bin/lyrebird", \ | ||
"--extorport", "auto", \ | ||
"--servertransportlistenaddr", "obfs4 0.0.0.0:443" \ | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
FROM ghcr.io/cyberworm-uk/lyrebird:latest AS bin | ||
|
||
FROM ghcr.io/cyberworm-uk/torbase:latest | ||
LABEL org.opencontainers.image.base.name="ghcr.io/cyberworm-uk/torbase" | ||
FROM ghcr.io/cyberworm-uk/tor-base:latest | ||
LABEL org.opencontainers.image.base.name="ghcr.io/cyberworm-uk/tor-base" | ||
LABEL org.opencontainers.image.title="Obfs4 Proxy" | ||
LABEL org.opencontainers.image.description="Obfs4 (Lyrebird) Proxy" | ||
COPY --from=bin /lyrebird /usr/bin/lyrebird | ||
EXPOSE 9050 | ||
ENTRYPOINT [ "/usr/bin/tor", "--clienttransportplugin", "meek_lite,obfs2,obfs3,obfs4,scramblesuit exec /usr/bin/lyrebird", "--socksport", "0.0.0.0:9050", "--usebridges", "1" ] | ||
ENTRYPOINT [ "/usr/bin/tor", \ | ||
"--clienttransportplugin", "meek_lite,obfs2,obfs3,obfs4,scramblesuit exec /usr/bin/lyrebird", \ | ||
"--socksport", "0.0.0.0:9050", \ | ||
"--usebridges", "1" \ | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
FROM ghcr.io/cyberworm-uk/torbase:latest | ||
LABEL org.opencontainers.image.base.name="docker.io/library/alpine" | ||
FROM ghcr.io/cyberworm-uk/tor-base:latest | ||
LABEL org.opencontainers.image.base.name="ghcr.io/cyberworm-uk/tor-base" | ||
LABEL org.opencontainers.image.title="Tor Proxy" | ||
LABEL org.opencontainers.image.description="Tor Proxy (client)" | ||
EXPOSE 9050 | ||
ENTRYPOINT [ "/usr/bin/tor", "--socksport", "0.0.0.0:9050" ] | ||
ENTRYPOINT [ "/usr/bin/tor", "--socksport", "0.0.0.0:9050" ] |