Socks proxy for LEDE?

Hello,

just upgraded from openwrt and sofar all great.

Some "years" ago I compiled socks from https://3proxy.ru/download/ to have a simple socks proxy running on different ports for each external IP of my router but I don't have anymore a developpement repo ready to compil it again.

I don't found any simple socks proxy with dedicated outgoing interface in LEDE sofar, is there one ?
Or does a repo with 3proxy binaries exists ?

In the negative, I'll recompil it again.

Thanks in advance for all answers !

I "installed" the SDK, and fetched https://github.com/zCookie/openwrt-3proxy as source and only modified the Makefile as :
PKG_NAME:=3proxy
PKG_VERSION:=0.8.11
PKG_RELEASE:=1

PKG_SOURCE_URL:=https://github.com/z3APA3A/3proxy/archive
PKG_SOURCE:=$(PKG_VERSION).tar.gz
PKG_HASH:=fc4295e1a462baa61977fcc21747db7861c4e3d0dcca86cbaa3e06017e5c66c9

And it alsmot worked with make package/3proxy/compile V=s :
make[3]: Entering directory '/media2/lede/source/build_dir/target-mips_24kc_musl/3proxy-0.8.11'
cat Makefile.Linux > src/Makefile.var
make[4]: Entering directory '/media2/lede/source/build_dir/target-mips_24kc_musl/3proxy-0.8.11/src'
mips-openwrt-linux-musl-gcc -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DNOPORTMAP -DANONYMOUS proxy.c
cc1: note: someone does not honour COPTS correctly, passed 0 times
gcc -o proxy -O2 -pthread sockmap.o proxy.o sockgetchar.o myalloc.o common.o base64.o ftp.o -ldl
/sbin/ld: sockmap.o: Relocations in generic ELF (EM: 8)
/sbin/ld: sockmap.o: Relocations in generic ELF (EM: 8)
/sbin/ld: sockmap.o: Relocations in generic ELF (EM: 8)
/sbin/ld: sockmap.o: Relocations in generic ELF (EM: 8)
/sbin/ld: sockmap.o: Relocations in generic ELF (EM: 8)
/sbin/ld: sockmap.o: Relocations in generic ELF (EM: 8)
sockmap.o: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status

That I finished replacing my system gcc by the mips one, and used the socks binary compiled which works just fine.

Tinyproxy has a pull request pending to add support for SOCKS (see https://github.com/tinyproxy/tinyproxy/pull/64). Maybe you can compile it yourself and replace the default Tinyproxy package from the repository.

Thanks, socks from 3proxy does all I need for years so I'll keep using it.

https://github.com/openwrt/packages/pull/6016 might be of interest :slight_smile: