Skip to content

li-plus/socks5-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Socks5-Proxy

A minimal SOCKS5 proxy written in C.

Build

We use CMake to build this project.

mkdir -p build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make -j

If you don't have CMake installed, you could build it with GCC.

gcc proxy.c -o proxy -pthread -O3

Run

Run a SOCKS5 proxy on port 1080.

./proxy -p 1080

Test it with curl.

curl --socks5 127.0.0.1:1080 https://www.baidu.com

You may also set the proxy in your browser as SOCKS5 on 127.0.0.1:1080, and start browsing websites.

For more information, run ./proxy -h for help.

About

A minimal SOCKS5 proxy written in C.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published