diff options
author | GDR! <gdr@gdr.name> | 2017-01-24 20:26:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-24 20:26:19 +0100 |
commit | cac8edd1c0e025813fd4f65645bf9650ebaf4764 (patch) | |
tree | 792a15b7f817728865af9a39c1b1becb6372b7fc | |
parent | 4cb9748ac962e2a9554b8a47fbd34dc576fbc8d0 (diff) | |
parent | e32c14ff83b4e44067b1f0a2fa977a31e3962797 (diff) |
Merge pull request #36 from fgaz/patch-1
Increased security
-rw-r--r-- | scripts/tuntox.service | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/tuntox.service b/scripts/tuntox.service index 862a539..6027fa9 100644 --- a/scripts/tuntox.service +++ b/scripts/tuntox.service | |||
@@ -17,6 +17,16 @@ Restart=on-failure | |||
17 | #User=proxy | 17 | #User=proxy |
18 | #Group=proxy | 18 | #Group=proxy |
19 | 19 | ||
20 | # Uncomment this and add a password to enable authentication | ||
21 | #Environment=TUNTOX_SHARED_SECRET=yourpassword | ||
22 | |||
23 | # Makes / read-only | ||
24 | ProtectSystem=strict | ||
25 | # … except for /etc/tuntox. Modify this if you change the default directory, | ||
26 | # comment it out if you want to generate a new id on each start. | ||
27 | # Remember that /etc/tuntox still needs to be writable by User! | ||
28 | ReadWriteDirectories=/etc/tuntox | ||
29 | |||
20 | [Install] | 30 | [Install] |
21 | WantedBy=multi-user.target | 31 | WantedBy=multi-user.target |
22 | Alias=tuntox.service | 32 | Alias=tuntox.service |