Install tor via HomeBrew and start the tor serivce.
brew install tor && brew services start tor
And to use obsf4 proxy we need to install its library/ Use HomeBrew for installation of the library.
brew install obfs4proxy
https://formulae.brew.sh/formula/obfs4proxy
Get 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 (/usr/local/etc/tor/torrc
) and add the following
# Using Bridges, obsf4
UseBridges 1
ClientTransportPlugin obfs4 exec /usr/local/bin/obfs4proxy managed
# 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
brew services restart tor
To change the circuit run
brew services reload tor