https://github.com/rusty-snake/firejailed-tor-browser
HOWTO: Firejailed Tor Browser
https://github.com/rusty-snake/firejailed-tor-browser
firejail howto sandbox security tbb tor-browser
Last synced: about 2 months ago
JSON representation
HOWTO: Firejailed Tor Browser
- Host: GitHub
- URL: https://github.com/rusty-snake/firejailed-tor-browser
- Owner: rusty-snake
- License: mit
- Created: 2019-04-28T12:45:49.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-12-06T11:21:01.000Z (5 months ago)
- Last Synced: 2025-03-18T02:51:34.463Z (2 months ago)
- Topics: firejail, howto, sandbox, security, tbb, tor-browser
- Language: Shell
- Homepage:
- Size: 177 KB
- Stars: 30
- Watchers: 4
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
⚠️ Unmaintained Project
# HOWTO: Firejailed Tor Browser
* Install [firejail](https://firejail.wordpress.com/) ([repo](https://github.com/netblue30/firejail)) latest git, or if you are using a stable firejail release,
have a look at [stable-profiles](stable-profiles).
* Download [Tor Browser](https://www.torproject.org/download/)
* Verify the signature as described [here](https://support.torproject.org/#how-to-verify-signature).
* Execute the `install.sh` script in a terminal:
```bash
$ ./install.sh ~/Downloads/tor-browser-linux64-8.5.4_en-US.tar.xz
```
Or do the following steps:
* Create `${HOME}/.firejailed-tor-browser` and extract Tor Browser to it.
* Copy the `firejailed-tor-browser.profile` file from this repo to `$HOME/.config/firejail/firejailed-tor-browser.profile`.
* Copy the `firejailed-tor-browser.desktop.in` file from this repo to `$HOME/.local/share/applications/firejailed-tor-browser.desktop` and replace each occurrence of the string HOME with the content of `$HOME`.
* Add `blacklist ${HOME}/.firejailed-tor-browser` to `$HOME/.config/firejail/disable-programs.local`
* **Summary**
```bash
$ mkdir $HOME/.firejailed-tor-browser
$ tar -C "$HOME/.firejailed-tor-browser" --strip 1 -xJf ~/Downloads/tor-browser-linux64-8.5.4_en-US.tar.xz
$ wget -O "$HOME/.config/firejail/firejailed-tor-browser.profile" "https://raw.githubusercontent.com/rusty-snake/firejailed-tor-browser/master/firejailed-tor-browser.profile"
$ wget -O- "https://raw.githubusercontent.com/rusty-snake/firejailed-tor-browser/master/firejailed-tor-browser.desktop.in" | sed "s;HOME;$HOME;g" > "$HOME/.local/share/applications/firejailed-tor-browser.desktop"
$ echo 'blacklist ${HOME}/.firejailed-tor-browser' >> "${HOME}/.config/firejail/disbale-programs.local"
```
* Now you can start Tor Browser from your Desktop Environment or by running `firejail --profile=firejailed-tor-browser "$HOME/Browser/start-tor-browser"`.
* Additionally, you can restrict the available interfaces with the `net` command.
* List all interfaces: `ip addr show` or `ifconfig`
* Add the interface with your internet connection to `firejailed-tor-browser.local`
* Example: `echo 'net wlan0' >> "${HOME}/.config/firejail/firejailed-tor-browser.local"`
* Tor Browser 10.5 added Wayland support. firejailed-tor-browser.profile enables the use of the wayland backend and blocks access to X11.
If you still rely on X11, you need to run `install.sh`/`update.sh` with `--x11` or add the following to your `firejailed-tor-browser.local`:
```
include firejailed-tor-browser-x11.inc
```--------------------
License: [MIT](LICENSE)