[Unit] Description=Browser HTTPS transport relay After=network-online.target mtproxy.service tproxy-firewall.service Wants=network-online.target mtproxy.service Requires=tproxy-firewall.service [Service] Type=simple User=tproxy Group=tproxy LoadCredential=profiles.json:/etc/tproxy-server/profiles.json ExecStart=/usr/local/bin/tproxy-server -config /etc/tproxy-server/config.json Restart=on-failure RestartSec=3s TimeoutStopSec=20s LimitNOFILE=1048576 NoNewPrivileges=true PrivateDevices=true PrivateTmp=true ProtectClock=true ProtectControlGroups=true ProtectHome=true ProtectHostname=true ProtectKernelLogs=true ProtectKernelModules=true ProtectKernelTunables=true ProtectProc=invisible ProtectSystem=strict ProcSubset=pid ReadOnlyPaths=-/srv/tproxy-site RestrictAddressFamilies=AF_INET AF_INET6 RestrictNamespaces=true RestrictRealtime=true RestrictSUIDSGID=true LockPersonality=true MemoryDenyWriteExecute=true CapabilityBoundingSet= IPAddressDeny=any IPAddressAllow=localhost SystemCallArchitectures=native SystemCallFilter=@system-service UMask=0077 [Install] WantedBy=multi-user.target