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