blob: b6bc04a4c8eae7bb83f0780a8ae7b29c99af1904 [file] [log] [blame]
Willy Tu74a3a8a2021-02-10 09:52:53 -08001[Unit]
2Description=SSL/SSH multiplexer
3Requires=sslh.socket
4
5[Service]
6ExecStart=/usr/sbin/sslh -n -f --ssh [::1]:22 --http [::1]:80 --tls [::1]:443
7KillMode=process
8#Hardening
9PrivateTmp=true
10ProtectSystem=strict
11ProtectHome=true
12ProtectKernelModules=true
13ProtectKernelTunables=true
14ProtectControlGroups=true
15MountFlags=private
16NoNewPrivileges=true
17PrivateDevices=true
18RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
19MemoryDenyWriteExecute=true
20DynamicUser=true