Awesome
Make Proxy
Features
with the great erlang, the project has the following features:
- support http, https, socks4, socks5,http proxy.
- Robustness. never down.
- Scalable. handle thousands requests at the same time easily.
- Fast.
- Lightweight.
Illustrate
+------------+ +--------------+
| local app | <=======> | proxy client | <#######
+------------+ +--------------+ #
#
#
# encrypted data
#
#
+-------------+ +--------------+ #
| target host | <=======> | proxy server | <#####
+-------------+ +--------------+
Usage
-
cd make-proxy
-
rebar3 tree && rebar3 compile
-
cp app.config.example app.config
app.config
- server_addr - which address that the server listen on
- server_port - which port that the server listen on
- client_port - which port that the client listen on
- key - key to encrypt/decrypt data 16bytes
-
run
./start_server.sh
at server side, and./start_client.sh
at client side. -
Done.
TODO
- Support Socks5 Username/Password Authorize
- Client & Server using ssl connection
- Traffic Statistics