I’m running a RB450 with Router OS 5.13.
I got an external SOCKS proxy, that I would like to use for a specific port.
All traffic on port 8080 TCP should transparently be forwarded through the external SOCKS proxy. Is this possible?
SOCKS proxy is not like HTTP proxy. a special handshake is needed to establish a connection to SOCKS proxy. by simply forwarding the port to SOCKS proxy, the client has no way of knowing its a SOCKS proxy and that it should use that special handshake. if you can set your program to act as a HTTP proxy instead, a simple port forwarding should do the trick. if that’s not an option, you need a middle program to convert the HTTP requests to SOCKS. i don’t think RouterOS has a built-in functionality for this. but you could use any HTTP proxy server program that supports SOCKS for this matter. like Polipo for example. and then forward port 8080 to the Polipo HTTP server. it would then take care of converting it to SOCKS and forwarding it to the SOCKS proxy.