|
Webtunnel is the newest bridge from Tor. It makes your tor traffic appear like http traffic. You can also use webtunnel bridges with the Tor Browser configuration and Tails OS setup.
|
|
First download and build webtunnel. Also make sure tor and git are installed.
|
|
sudo apt install golang git tor
git clone https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/webtunnel
cd webtunnel/main/client/
go build
sudo cp client /usr/bin/webtunnel
|
|
Next, edit /etc/apparmor.d/system_tor and add an entry allowing tor to execute WebTunnel.
|
|
# During startup, tor (as root) tries to open various things such as
# directories via check_private_dir(). Let it.
/usr/bin/webtunnel ix,
|
|
After editing system_tor you must reload the apparmor profile using this command:
|
|
sudo apparmor_parser -r /etc/apparmor.d/system_tor
|
|
Now we edit the torrc file located at /etc/tor/torrc. use the following commnd:
|
|
sudo vi /etc/tor/torrc
|
|
For advice on how to use the vi text editor see here. Edit /etc/tor/torrc file to this:
|
|
UseBridges 1
ClientTransportPlugin webtunnel exec /usr/bin/webtunnel
Bridge webtunnel [XXX]:443 XXX url=https://XXX ver=0.0.3
Bridge webtunnel [XXX]:443 XXX url=https://XXX ver=0.0.3
|
|
If you're looking for webtunnel bridges you can find them here.
|
|
Use the following commands to reset tor and read the logs to see how your tunnel is doing.
|
|
sudo systemctl restart tor.service
sudo journalctl -e -u tor@default
|
|
You should see the following line:
|
|
Bootstrapped 100% (done): Done
|