OpenWrt Forum Archive

Topic: Proxytunnel alternative for openwrt?

The content of this topic has been archived on 4 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

In ubuntu there's proxytunnel package that we can use to tunnel a connection through a standard HTTPS proxy. Is there an alternative in openwrt for that package ?

socat can create a similar functionality.

From its manpage:

socat TCP4-LISTEN:2022,reuseaddr,fork \
PROXY:proxy:host:22,proxyport=3128,proxyauth=user:pass

starts a forwarder that accepts connections on port 2022, and directs them through the proxy daemon listening on port 3128 (proxyport) on host proxy, using the CONNECT method, where they are authenticated as "user" with "pass" (proxyauth). The proxy should establish connections to host on port 22 then.

The discussion might have continued from here.