Server:
ssh -N -D localhost:$port $proxy
Clients:
about:preferences
localhost
$port
yt-dlp
--proxy socks5://localhost:$port