There are a number of tutorials online that teach to use ssh as a socks5 server, after sshd is up, the next step is to have a terminal open, then open a socks5 server port by typing something like the following

ssh -D8080 -g localhost -l <username>

I would like my mac to auto start with 8080 port opened as socks5 server, how should I achieve this?


Try to start this script in LaunchDaemons. sudo launchctl load allow you to manage and inspect daemons.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.