Balbir Singh
asked on
What is SOCKS and can we use SSH port forwarding to achieve it?
I have been playing with SSH local and remote port forwarding and have a little understanding of it. I am wondering if it is same as SOCKS protocol and how using SSH dynamic port we can achieve it.
Also, I am wondering what is the use case of SOCKS when we have VPN and port forwarding.
Thanks in Advance
Also, I am wondering what is the use case of SOCKS when we have VPN and port forwarding.
Thanks in Advance
ssh port forwarding is protocol agnostic. When ssh receives a connection request, it will pass this on to the system mentioned the linked settings.
And it will forward all data... There is no communication about the connection between program & SSH.
Socks is a protocol where your program talks to the proxy to request several things on it's behalf. So there is active communication between the proxy & the program about the connections.
This better explains Socks proxies and where they belong.
https://surfshark.com/learn/socks-proxy
Socks does NOT encrypt, it can authenticate.
And it will forward all data... There is no communication about the connection between program & SSH.
Socks is a protocol where your program talks to the proxy to request several things on it's behalf. So there is active communication between the proxy & the program about the connections.
This better explains Socks proxies and where they belong.
https://surfshark.com/learn/socks-proxy
Socks does NOT encrypt, it can authenticate.
It is possible for http traffic...
https://www.linuxjournal.com/content/use-ssh-create-http-proxy
A bit old, but should still work
https://www.extremetech.com/computing/93106-escaping-the-firewall-with-an-ssh-tunnel-socks-proxy-and-putty
https://www.linuxjournal.com/content/use-ssh-create-http-proxy
A bit old, but should still work
https://www.extremetech.com/computing/93106-escaping-the-firewall-with-an-ssh-tunnel-socks-proxy-and-putty
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This context will help shape answers.