A fast & lightweight tunnel proxy
+------------+ +--------------+
| local app | <--socks5 protocol--> | proxy client | <-------
+------------+ +--------------+ |
|
|
encrypted data
|
|
+-------------+ +--------------+ |
| target host | <------------------> | proxy server | <-----
+-------------+ +--------------+
- Install Erlang & Elixir.
git clone https://github.com/sllt/extunnel.git
cd extunnel
mix deps.get
mv config/config.exs.example config/config.exs
Explanation of the key:
Name | Explanation |
---|---|
server_addr | server address |
server_port | server port |
client_port | client port |
key | key to encrypt data(must be 16 bytes) |
- run
bash server.sh
to start server and runbash client.sh
to start client.