SSH dynamic port forwarding in Objective-C.
- Download source code and open it via Xcode.
- This project is base on libssh, so before you run this project you need to use
brew install libssh
at first. - There is a test example in the SDFTest target, you just need to run the test and then input your 'server/username/password' follow the directions in debug area.
- If you see
[INFO] Server is running at: [127.0.0.1:7575]
it means the socks5 server is ready at localhost and port is 7575. - You can use
curl --socks5-hostname 127.0.0.1:7575 https://www.google.com.hk/
to check if the socks5 server is working or not.
LGPL