Last active
April 5, 2025 09:51
-
-
Save HarshitRuwali/ef72d898172dae1e7a8ad194274342ef to your computer and use it in GitHub Desktop.
Revisions
-
HarshitRuwali revised this gist
May 2, 2021 . 1 changed file with 10 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,14 +1,19 @@ 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][1] Get the obsf4 bridges from [https://bridges.torproject.org/options][2] or send email to [bridges@torproject.org][3] with body `get transport obfs4`. Edit the torrc file (`/usr/local/etc/tor/torrc`) and add the following ``` # Using Bridges, obsf4 @@ -22,6 +27,7 @@ Bridge obfs4 78.194.206.56.. B80190D0C0771298F04AE56L..... cert=61xl3nF07Ssg... 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 @@ -31,7 +37,7 @@ And it works fine. [![enter image description here][4]][4] To change the circuit run ``` brew services reload tor ``` -
HarshitRuwali created this gist
May 2, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,43 @@ Even better use HomeBrew for installation. ``` brew install obfs4proxy ``` [https://formulae.brew.sh/formula/obfs4proxy][1] And add the obsf4 bridges from [https://bridges.torproject.org/options][2] or send email to [bridges@torproject.org][3] with body `get transport obfs4`. And 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 ``` And it works fine. [![enter image description here][4]][4] And to change the circuit run ``` brew services reload tor ``` [1]: https://formulae.brew.sh/formula/obfs4proxy [2]: https://bridges.torproject.org/options [3]: http://mailto:bridges@torproject.org [4]: https://i.stack.imgur.com/1PJMU.png