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

[Suggestion] Read a bridge list from file. #82

Open
phantomcraft opened this issue Sep 21, 2021 · 0 comments
Open

[Suggestion] Read a bridge list from file. #82

phantomcraft opened this issue Sep 21, 2021 · 0 comments

Comments

@phantomcraft
Copy link
Collaborator

Easy to implement:


if [ "$(command -v obfs4proxy)" ]; then
    echo "ClientTransportPlugin obfs2,obfs3,obfs4,scramblesuit exec $(command -v obfs4proxy)" >> "$TORCONFIGFILE"
fi

cat --squeeze-blank /path/to/bridge_list | shuf -n 20 | while read line;
    do
      echo "Bridge ${line}" >> "$TORCONFIGFILE"
    done
echo "UseBridges 1" >> "$TORCONFIGFILE"

The bridge central (https://bridges.torproject.org) is only providing "normal" (vanilla) and obfs4 bridges and obfs4proxy is avaliable for installing on Debian:

https://packages.debian.org/bullseye/obfs4proxy

https://packages.debian.org/bookworm/obfs4proxy

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

1 participant