You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Specify multiple remote servers for outcoming traffic: HTTP/Socks/Shadowsocks.
13
13
- Unix domain socket support for communicating locally.
14
14
- Basic authentication support for all three protocols.
15
15
- Regex pattern file support to route/block by hostname matching.
@@ -22,7 +22,7 @@ Features
22
22
Python 3.6
23
23
-----------
24
24
25
-
*Python 3.5* added new syntax *async def* and *await* to make asyncio programming easier. *Python 3.6* added new syntax *formatted string literals*. This tool is to demonstrate how compact these new syntax can be. It includes many features, and is also fully ready for production usage.
25
+
*Python 3.5* added new syntax *async def* and *await* to make asyncio programming easier. *Python 3.6* added new syntax *formatted string literals*. This tool is to demonstrate these new syntax so the minimal Python requirement is *Python 3.6*. It has many features, and is also fully ready for production usage.
With these parameters, this utility will serve incoming traffic by either http/socks5 protocol, redirect all google traffic to http proxy aa.bb.cc.dd:8080, and visit all other traffic locally.
135
143
136
-
To bridge two servers, add cipher key to ensure data can't be intercepted. First, run pproxy locally
144
+
To bridge two servers, add cipher encryption to ensure data can't be intercepted. First, run pproxy locally
Next, run pproxy.py remotely on server "aa.bb.cc.dd"
141
149
142
-
pproxy -i ss://chacha20:cipher_key@:12345
150
+
$ pproxy -i ss://chacha20:cipher_key@:12345
143
151
144
152
By doing this, the traffic between local and aa.bb.cc.dd is encrypted by stream cipher Chacha20 with key "cipher_key". If target hostname is not matched by regex file "rules", traffic will go through locally. Otherwise, traffic will go through the remote server by encryption.
It listen on the unix domain socket /tmp/pproxy_socket, and use cipher name salsa20, cipher key "complex_cipher_key", and enable OTA encryption for shadowsocks protocol. The traffic is tunneled to remote https proxy with simple authentication.
151
159
160
+
If you want to listen in SSL, you must specify ssl certificate and private key files by parameter "--ssl", there is an example:
It listen on 443 HTTPS port, use the specified certificate and private key files. The "--pac" enable PAC support, so you can put https://yourdomain.com/autopac in your device's auto-configure url.
0 commit comments