Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

obfs4 documentation #3

Open
e9x opened this issue Apr 28, 2024 · 1 comment
Open

obfs4 documentation #3

e9x opened this issue Apr 28, 2024 · 1 comment

Comments

@e9x
Copy link

e9x commented Apr 28, 2024

I love this project! It's portable and I was able to get it running in minutes! The only issue I had was setting up an obfs4 bridge due to censorship here. I have some changes that installs lyrebird from the alpine testing repo and configures torrc. I think there should also be some documentation for rebuilding the container.

In gateway/Containerfile

FROM alpine:latest
-RUN apk add tor
+RUN apk add tor lyrebird --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/

In gateway/torrc

DNSPort 10.2.2.254:5353
+
+UseBridges 1
+ClientTransportPlugin obfs4 exec /usr/bin/lyrebird managed
+bridge obfs4 <bridge stuff from https://bridges.torproject.org/bridges/?transport=obfs4>
@hardcore-sushi
Copy link
Owner

Thank you for the instructions. It would be great to add support for bridge, but it shouldn't replace the current no-bridge setup.

We should rather have 2 container configs: one without bridge (the current one), and one containing a template for bridges (in order to allow both obfs4 and webtunnel). Then we would let the user decide via CLI option if bridges must be used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants