Socksify is just a sample code which I created to forward selected application through the SSH session disposing the dynamic port (-D 8888). So,
1. It can be any unused local TCP port. Local transparent proxy will use it to listen for incoming connections.
2. This is the local SOCKS5 proxy port (for example, 8888 for ssh hostname -D 8888
). Application always (hardcoded) assumes that you have SOCKS5 proxy running on 127.0.0.1.
If you would like to use SOCKS5 proxy running on the different host then just change the 127.0.0.1 in socksify.cpp:143 to the IP address of your SOCKS proxy ( 198.xxx.xxx.xxx) or make it an input parameter.