Hi, I want to create SOCKS4/5 proxy server on my Openwrt router and share the proxy server to my friend to make sure that me and my friend will use same IP address. like http://proxydb.net/?protocol=socks4
Thanks in advance
(Xiomi 4A global giga version custom Openwrt firmware)
Since you're using a custom openwrt version, I'm not sure what packages you have available.
Web server are in general socks capable.
Apache and Lighttpd do it, but I'm not sure the Openwrt versions can, and especially not the version you're using.
I did check, my current version of Openwrt support and available Apache, Lighttpd and Redsocks. Can you send me an instruction of Redsocks setup with the command?
You can do that with SSH server e.g. Dropbear.
But you'll need to enable GatewayPorts.
Then your friend need to connect with ssh dynamic port forwarding. Here is comes two problems:
The SSH has a very long connection hanshake and the initiall connect will take up to a few seconds.
Once you rebooted computer you need to call the ssh again.
To fix the problem 2 you need a service/daemon that will restart ssh clinet and keep a connection.
If your friend has an OpenWrt router too then he can install the sshtunnel and openssh-client packages and configure the Dynamic tunnel.
Internally it may make the tunnel available on a 1080 port and configure it's browser to use the SOCKS proxy.