summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGDR! <gdr@gdr.name>2017-01-24 20:26:19 +0100
committerGitHub <noreply@github.com>2017-01-24 20:26:19 +0100
commitcac8edd1c0e025813fd4f65645bf9650ebaf4764 (patch)
tree792a15b7f817728865af9a39c1b1becb6372b7fc
parent4cb9748ac962e2a9554b8a47fbd34dc576fbc8d0 (diff)
parente32c14ff83b4e44067b1f0a2fa977a31e3962797 (diff)
Merge pull request #36 from fgaz/patch-1
Increased security
-rw-r--r--scripts/tuntox.service10
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
24ProtectSystem=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!
28ReadWriteDirectories=/etc/tuntox
29
20[Install] 30[Install]
21WantedBy=multi-user.target 31WantedBy=multi-user.target
22Alias=tuntox.service 32Alias=tuntox.service