Skip to content

Instantly share code, notes, and snippets.

@HarshitRuwali
Last active December 3, 2023 13:29
Show Gist options
  • Save HarshitRuwali/b9d8e7a0558703346412c4e26644fa8b to your computer and use it in GitHub Desktop.
Save HarshitRuwali/b9d8e7a0558703346412c4e26644fa8b to your computer and use it in GitHub Desktop.
obsf4proxy for linux

Install the package obfs4proxy

For arch based system, you can use package from aur or from blackarch repo. yay obfs4proxy

For debian based System sudo apt install obfs4proxy

et the obsf4 bridges from https://bridges.torproject.org/options or send email to bridges@torproject.org with body get transport obfs4.

Edit the torrc file (/etc/tor/torrc) and add the following

# Using Bridges, obsf4
UseBridges 1
ClientTransportPlugin obfs4 exec /usr/bin/obfs4proxy 

# send email to bridges@torproject.org with body `get transport obfs4` you can get new bridges.
# Or use https://bridges.torproject.org/options
# Paste the obsf4 bridges here and put Bridge in front of each.
Bridge obfs4 78.194.206.56.. B80190D0C0771298F04AE56L..... cert=61xl3nF07Ssg... iat-mode=0
Bridge obfs4 185.220.101.17.. 59F4CBDE79D51FEC12AC1F4304D006C97D4.. cert=p9L6... iat-mode=0
Bridge obfs4 185.220.101.17.. 59F4CBDE79D51FEC12AC1F4304D006C97D4.. cert=p9L6... iat-mode=2

Now restart the TOR service using

sudo systemctl restart tor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment