+------------+ +--------------+
| local app | <=======> | proxy client | <#######
+------------+ +--------------+ #
#
#
# UDP
#
#
+-------------+ +--------------+ #
| target host | <=======> | proxy server | <#####
+-------------+ +--------------+
-
proxy clientis running at your local computer.It receive your app (like a browser) request, send to
proxy server -
proxy serverreceive the request fromproxy client, and sent to the target host. -
proxy servergot the response from target host, send back toproxy client. -
proxy clientdecrypt response received fromproxy server, and send to local app. -
the circle done.
-
cp config.ini.example config.ini,- server. Server ip
- server_port. Default 7070
- local. Client ip, default 127.0.0.1
- local_port. Defalut 1080
- debug. Defalut false
-
python server.py
-
use same of server config file
-
python client.py -
Done
Now, you can set your apps (e.g. Browser) Using socks5 proxy.
IP = 127.0.0.1
PORT = 1080 (if not changed in the config.cfg)
- encrypt the data