How can i make my own proxy SOCKS4/SOCKS5?

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)

1 Like

Cool!

Good to have friends, too !

1 Like

How can i install and setup Redsocks? Can you send me the full process? I am new on OpenWRT.

I changed the post.

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?

Not sure redsocks is the right tool for you.

I'd rather use apache, and it's mod_proxy.

Okay. send me the Apache instruction, Please?

Quicker method.

have you buddy ssh into your router, then set the socks5 proxy to localhost:port on his end.

Sorry, it's been a long week :confused:

What are you trying to proxy anyway, sure a http proxy isn't good enough ?

1 Like

So, your plan is to leave a SOCKS proxy open to the internet...? That's a very bad idea!

I would use a VPN instead.

4 Likes

@Dhrubo, welcome to the community.

It may be better if you asked your question in a new thread, instead of reviving a 2 year old one.

I searched this term on the web - it seems that you're asking for a list of proxies in Bangladesh.

This form is for OpenWrt-related inquires. Let's keep the forum tidy. You may wish to inquire about that on a forum more suited to your inquiry.

Then this forum isn't for you...

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:

  1. The SSH has a very long connection hanshake and the initiall connect will take up to a few seconds.
  2. 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.