heiher / hev-socks5-server

A high-performance socks5 server for Unix (Linux/Android/BSD/macOS)
MIT License
185 stars 33 forks source link

systemd unit for running as anything other than root? #34

Closed LindaFerum closed 10 months ago

LindaFerum commented 11 months ago

Hi! Can't get it to run as nobody or "dynamic user" under systemd

As root - runs fine.

What capabilities would I need to set on the file for it to work out fine?

heiher commented 11 months ago

Grant cap_net_bind_service if the bind port < 1024.

LindaFerum commented 11 months ago

thanks!