Using Tor with bridges
2022 June 8
Tor can be used with pluggable transports to obfuscate the fact that the user is using Tor, enabling them to circumvent an ISP block.
Bridges in Tor Browser
It's easy to configure bridges in the Tor Browser.
- When you first launch Tor Browser, rather than connect, click Tor Network Settings.
- Under Bridges, check the box beside Use a bridge.
- You can Select a built-in bridge such as obfs4, Request a bridge from torproject.org, or Provide a bridge if you know one or more already.
This will bring you to about:preferences#tor.
If you request a bridge, you'll need to complete a visual CAPTCHA.
Tor Browser will then fill in some bridges you can use.
After that, just connect.
Bridges with tor service
It's less obvious how to do this with the tor service.
- Install the necessary packages.
- Get some bridges.
- visit bridges.torproject.org and follow the instructions
- visit 2tiwhibsjvys63t43xncar6y52dy3dpct6edglenhzlalmyirb2a.b32.i2p, an I2P mirror of bridges.torproject.org
- email bridges@torproject.org from a Gmail or Riseup email address
- Add these bridges to your torrc.
- Restart the tor service.
On Debian, sudo apt install tor obfs4proxy
On Fedora, sudo dnf install tor obfs4
obfs4proxy does not seem to be available from the main Arch repos, but it is in the AUR.
You can use the Tor Browser to request a bridge (as described above). Alternatively, you can...
See the Tor Project page on bridges for more info.
You should get a result that looks something like this:
obfs4 130.61.148.132:11235 A1E2CAADC06D6C21908FB505D99F29D36C64B7D8 cert=BoddvgH90+ynSjJzOldIuDM/1WK1Fv/BsNGdtu9Lh8IHNeTcYWn4/FzxhHYc6/y5mguIYw iat-mode=0 obfs4 185.177.207.39:7274 4BAADDFFF1545B6C5E6BCCF8B9946F6F724B4DA8 cert=p9L6+25s8bnfkye1ZxFeAE4mAGY7DH4Gaj7dxngIIzP9BtqrHHwZXdjMK0RVIQ34C7aqZw iat-mode=2 obfs4 87.62.98.28:9003 150530E71DF116D514AF6E04C2EC18F16803FF72 cert=zJVQ+C2X5SndHqKgsYqT4vOexUqg4zFpyBwdtmKLM7CU6ceDFQk6uijsC1FCIFrCblFBAw iat-mode=0
Modify /etc/tor/torrc. Add these lines:
UseBridges 1 ClientTransportPlugin obfs4 exec /usr/bin/obfs4proxy Bridge obfs4 130.61.148.132:11235 A1E2CAADC06D6C21908FB505D99F29D36C64B7D8 cert=BoddvgH90+ynSjJzOldIuDM/1WK1Fv/BsNGdtu9Lh8IHNeTcYWn4/FzxhHYc6/y5mguIYw iat-mode=0 Bridge obfs4 185.177.207.39:7274 4BAADDFFF1545B6C5E6BCCF8B9946F6F724B4DA8 cert=p9L6+25s8bnfkye1ZxFeAE4mAGY7DH4Gaj7dxngIIzP9BtqrHHwZXdjMK0RVIQ34C7aqZw iat-mode=2 Bridge obfs4 87.62.98.28:9003 150530E71DF116D514AF6E04C2EC18F16803FF72 cert=zJVQ+C2X5SndHqKgsYqT4vOexUqg4zFpyBwdtmKLM7CU6ceDFQk6uijsC1FCIFrCblFBAw iat-mode=0
...replacing these bridges with the ones you got. Each Bridge line should be "Bridge" followed by one of the lines of bridge data you got in step 2.