In my previous guides I showed you how to set up Tor, obfs4proxy and how to use it with Tor Browser.
But what if you want to use your bridge from within the Tor daemon directly? I will show you how!
To use a plain Tor bridge, append the following lines to
UseBridges 1 Bridge IP_ADDRESS:PORT FINGERPRINT_HERE
To use an obfs4proxy bridge, you need to make sure you installed obfs4proxy and then edit
ClientTransportPlugin obfs4 exec /usr/bin/obfs4proxy UseBridges 1 Bridge obfs4 IP_ADDRESS:PORT FINGERPRINT_HERE cert=CERTIFICATE_HERE iat-mode=0
Of course, with the actual IP address, port, fingerprint and in case of obfs4 certificate, too.
In each case, restart Tor and that’s all there is to it!
If you are running Android 10, you might have issues connecting to an obfs4 bridge with Orbot, but you can actually use this same method in Android 10 within Termux (get it from F-Droid)!
Inside Termux, simply run:
pkg install tor obfs4proxy nano
And edit the torrc file like above, except instead of pointing to
/usr/bin/obfs4proxy you will be pointing to
Again, super quick and easy to do! Read my previous guides on how to set up Tor and how to set up an obfs4 bridge!