Tor

From postmarketOS Wiki

The Tor Project (The onion routing) is an open source implementation of onion routing that provides free access to an anonymous proxy network. Its primary goal is to enable online anonymity by protecting against traffic analysis attacks.

Note Tor by itself is not all you need to maintain anonymity. There are several major pitfalls to watch out for (see Am I totally anonymous if I use Tor?).

Installation

Install the tor package to use the Tor daemon. To manage the service, use the tor OpenRC service.

Configuration

Tor reads its configurations from the file /etc/tor/torrc by default, or if the latter is not found, from $HOME/.torrc. The configuration options are explained in tor(1). The default configuration should work fine for most Tor users.

A example configuration with documentation is in the file /etc/tor/torrc.sample.

Logs are written to /var/log/tor/notices.log, by default.

Web Browsing

The only way to browse anonymously is with the supported Tor Browser Bundle, which uses a patched version of Firefox. It can be installed with the Tor Browser LauncherFlathub flatpak.

Tor can also be used with regular browsers: see #Firefox to run these browsers through the Tor network. Note this is not an anonymous way to browse even in "private browsing" mode: fingerprinting, plugins, DNS leak and other shortcomings may reveal your IP address or identity. [1]

The only caveat with the Tor Browser is that it's not adjusted for a mobile screen size.

Firefox

In Preferences > General > Network Settings > Settings... , select Manual proxy configuration and enter SOCKS host localhost with port 9050 (SOCKS v5).

Bypass censorship

If you have a internet connection from a country that blocks Tor connections, you'll need a transparent proxy soloution like lyrebird.

To allow your tor daemon to use lyrebird, add the following line to your torrc file:

ClientTransportPlugin obfs4 exec /usr/bin/lyrebird

Then (re)start the tor daemon: service tor restart

Carburetor

Carburetor is a Front-end to Tractor which controls the Tor daemon.

Install carburetor either as Flatpak, CarburetorFlathub, or from the official Alpine repository, carburetor.

Main page Stopped
Connected
About Page

See also