Tor
Tor
Since there is no Tor-Browser in PostmarketOS
sudo apk add tor
sudo cp /etc/tor/torrc.sample /etc/tor/torrc
sudo service tor start
check if it is running with:
sudo netstat -tunlp | grep tor
in Firefox Network Settings Select:
Manual proxy configuration
SOCKS Host 127.0.0.1 Port 9050
Tick the Proxy DNS when using SOCKS v5
For autostart Tor on boot:
sudo rc-update add tor default
This however, will not work in a country which Censors Tor connections, e.g. Iran, China...
You need to get obfs4proxy, its package name is lyrebird and you have to build it yourself.
get it with:
sudo apk add lyrebird --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing
Since you might not be able to access the official repo take my pre-built package, make lyrebird executable and copy it to /usr/bin/lyrebird
try quickly if you can run it, if yes, it will throw an error like: lyrebird - must be run as a managed transport
Next make sure /etc/tor/torrc
contains:
Log notice file /var/log/tor/notices.log DataDirectory /var/lib/tor ClientTransportPlugin obfs4 exec /usr/bin/lyrebird
then start or restart tor:
sudo rc-service tor start
watch the log file while it tries to circumvent censorship:
sudo tail -f /var/log/tor/notices.log
try in your configured browser. GOOD LUCK!
GUI client
You can use Carburetor which is a Front-end to Tractor Cli application for connecting to Tor Network.
WARNING: This will not hide your location or give you any kind of privacy! not recommended |
Installation
For now there Isn't any package for this application inside Alpine repositories. you can install it from Flathub using Gnome Software or KDE discover.
For installing it manually run this inside your preferd terminal emulator:
flatpak install flathub io.frama.tractor.carburetor