blob: f2d9586e1cf0757bce6f1ab68c6b5a44a79d620d [file] [log] [blame]
Willy Tu1fe95d52021-02-09 12:41:44 -08001[Unit]
2Description=IPERF3 Server
3
4[Service]
5ExecStart=/usr/bin/iperf3 -s
6#Hardening
7PrivateTmp=true
8ProtectSystem=strict
9ProtectHome=true
10ProtectKernelModules=true
11ProtectKernelTunables=true
12ProtectControlGroups=true
13MountFlags=private
14NoNewPrivileges=true
15PrivateDevices=true
16RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
17MemoryDenyWriteExecute=true
18DynamicUser=true
19
20[Install]
21WantedBy=multi-user.target