12/20/2023 0 Comments Ssh socks5 proxy![]() ![]() If you like the idea you are welcome to it if you don't then feel free to ignore it. Just a suggestion and just so you know, I am not a programmer and would not have even the beginnings of a clue how to do this myself. You would not have to run multiple SOCKS5 proxies from each local machine on the network that needs to use the proxy. Once this is set up, the idea is that any machine or software on the local network (Firefox, for example) could use the SOCKS5 proxy simply by specifying the router's address and the SOCKS5 Proxy Port number. Use the command below: SSH -D 127.0.0.1:9050 kali.![]() After configuring the file and specifying the port number we want to use, weâll then SSH into the other laptop connected to our VPN. machineB ssh -ND :8080 usermachineC.p SSHport is not needed for default SSH port 22 (some people run SSH on an alternate port for security reasons) In the Proxåhains config, make sure the SOCKS5 proxy is configured to listen locally on port 9050. Public SOCKS proxy Start SOCKS proxy on a public port on machine B. I believe this would translate to something like this:Īutossh -f -N -C -p SSHport -D SOCKS5ProxyPort SSH Password (could also allow the use of Public Key authorization, I'm not sure what would be required to enable that) Testing the proxy server will help you verify that the traffic is being routed through the proxy and that your desired settings are in effect. The plugin would need to ask for the following information (at a minimum) to make the ssh connection: Once you have set up and configured your Socks5 proxy server, itâs important to test its functionality to ensure that it is working as intended. My guess would be that beneath the GUI you'd use something like autossh to set up the proxy, since if the connection drops autossh will keep trying to reconnect. This assumes you can SSH into some other system to create the proxy. Don't know if this is the correct forum for this but anyway if anyone is looking for the chance to author a plugin, here's my suggestion: A persistent SOCKS5 proxy that could be used by any device on the local network. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |