diff options
author | netblue30 <netblue30@yahoo.com> | 2020-04-21 08:24:28 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2020-04-21 08:24:28 -0400 |
commit | 018d75775eab4a0f045949a9d069c57686ca2686 (patch) | |
tree | aac3a1a65cca0d4875795c55109a5c3e35efdefb /etc/profile-m-z/tor.profile | |
parent | small fixes (diff) | |
download | firejail-018d75775eab4a0f045949a9d069c57686ca2686.tar.gz firejail-018d75775eab4a0f045949a9d069c57686ca2686.tar.zst firejail-018d75775eab4a0f045949a9d069c57686ca2686.zip |
reorganize github etc directory
Diffstat (limited to 'etc/profile-m-z/tor.profile')
-rw-r--r-- | etc/profile-m-z/tor.profile | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/etc/profile-m-z/tor.profile b/etc/profile-m-z/tor.profile new file mode 100644 index 000000000..13d071635 --- /dev/null +++ b/etc/profile-m-z/tor.profile | |||
@@ -0,0 +1,51 @@ | |||
1 | # Firejail profile for tor | ||
2 | # Description: Anonymizing overlay network for TCP | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include tor.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | # How to use: | ||
10 | # Create a script called anything (e.g. mytor) | ||
11 | # with the following contents: | ||
12 | |||
13 | # #!/bin/bash | ||
14 | # TORCMD="tor --defaults-torrc /usr/share/tor/tor-service-defaults-torrc -f /etc/tor/torrc --RunAsDaemon 1" | ||
15 | # sudo -b daemon -f -d -- firejail --profile=/home/<username>/.config/firejail/tor.profile $TORCMD | ||
16 | |||
17 | # You'll also likely want to disable the system service (if it exists) | ||
18 | # Run mytor (or whatever you called the script above) whenever you want to start tor | ||
19 | |||
20 | include disable-common.inc | ||
21 | include disable-devel.inc | ||
22 | include disable-exec.inc | ||
23 | include disable-interpreters.inc | ||
24 | include disable-passwdmgr.inc | ||
25 | include disable-programs.inc | ||
26 | include disable-xdg.inc | ||
27 | |||
28 | caps.keep dac_read_search,net_bind_service,setgid,setuid | ||
29 | ipc-namespace | ||
30 | machine-id | ||
31 | netfilter | ||
32 | no3d | ||
33 | nodvd | ||
34 | nogroups | ||
35 | nonewprivs | ||
36 | nosound | ||
37 | notv | ||
38 | nou2f | ||
39 | novideo | ||
40 | protocol unix,inet,inet6 | ||
41 | seccomp | ||
42 | shell none | ||
43 | |||
44 | disable-mnt | ||
45 | private | ||
46 | private-bin bash,tor | ||
47 | private-cache | ||
48 | private-dev | ||
49 | private-etc alternatives,ca-certificates,crypto-policies,passwd,pki,ssl,tor | ||
50 | private-tmp | ||
51 | writable-var | ||