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