Skip to content

Instantly share code, notes, and snippets.

@mort3za
Last active September 28, 2024 13:40
Show Gist options
  • Save mort3za/b28495d7e42e628e7b7c9346488b5e93 to your computer and use it in GitHub Desktop.
Save mort3za/b28495d7e42e628e7b7c9346488b5e93 to your computer and use it in GitHub Desktop.
Using tor with bridges, torrc example config (bit.ly/m3torrc)
# sudo apt-get install obfs4proxy obfsproxy tor
# sudo vi /etc/tor/torrc
UseBridges 1
ClientTransportPlugin obfs3 exec /usr/bin/obfsproxy managed
ClientTransportPlugin obfs4 exec /usr/bin/obfs4proxy managed
# send email to bridges@torproject.org with body `get transport obfs4` you can get new bridges.
bridge obfs4 195.154.49.15:44705 BACD07DACE996093DC7635F33A98C49... cert=xc/wtKNWADfJQf232xSXT0WpzsaINw6fgPvZBy5Rkw4.../ypaZPDug9L... iat-mode=0
bridge obfs3 163.172.161.87:34827 70C720468D057BBF9F59081506D660CE87...
@mort3za
Copy link
Author

mort3za commented Jun 7, 2019

read updated config file

sudo service tor restart

use tor in shell

torify YOUR_COMMAND

use tor as a proxy in other programs

socks5 127.0.0.1:9050

@mort3za
Copy link
Author

mort3za commented Apr 5, 2020

@mohammadjavad948
Copy link

nice

@AliSawari
Copy link

Thank you. I was looking for this

@hizani
Copy link

hizani commented Nov 6, 2023

Thanks

@noursallam
Copy link

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment