BlackArch / torctl

Script to redirect all traffic through tor network including dns queries for anonymizing entire system
https://www.blackarch.org/
GNU General Public License v3.0
155 stars 41 forks source link

Using bridges with torctl #24

Open cann3v opened 2 years ago

cann3v commented 2 years ago

Hello. The tor network is blocked in my country, so I need to use bridges. I have requested bridges on bridge-db and can use them in the tor browser. But how do I use bridges in torctl? My configuration file /etc/tor/torrc looks like this right now: Bridge obfs4 <ip:port> <fingerprint> cert=<cert> iat-mode=0 Bridge obfs4 <ip:port> <fingerprint> cert=<cert> iat-mode=0 Bridge obfs4 <ip:port> <fingerprint> cert=<cert> iat-mode=0 UseBridges 1 But torctl does not use bridges anyway.

MasterFlomaster1 commented 1 year ago

Install obfs4proxy and try:

UseBridges 1 
ClientTransportPlugin obfs4 exec /usr/bin/obfs4proxy

Bridge obfs4 <ip:port> <fingerprint> cert=<cert> iat-mode=0
Bridge obfs4 <ip:port> <fingerprint> cert=<cert> iat-mode=0
Bridge obfs4 <ip:port> <fingerprint> cert=<cert> iat-mode=0
Nespelem-3000 commented 1 month ago

You cannot just insert bridges in torrc manually - the changes will be overwritten by torctl. The easy workaround.