Skip to content

Commit d45aed5

Browse files
authored
Add files via upload
1 parent 13e307a commit d45aed5

1 file changed

Lines changed: 13 additions & 8 deletions

File tree

‎README.rst‎

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -311,13 +311,13 @@ Examples
311311

312312
.. code:: rst
313313
314-
$ pproxy -i http+socks://:8080 -r http://aa.bb.cc.dd:8080?rules -v
315-
http www.googleapis.com:443 -> http aa.bb.cc.dd:8080
316-
socks www.youtube.com:443 -> http aa.bb.cc.dd:8080
317-
http www.yahoo.com:80
318-
DIRECT: 1 (0.5K/s,1.2M/s) PROXY: 2 (24.3K/s,1.9M/s)
314+
$ pproxy -r http://aa.bb.cc.dd:8080?rules -v
315+
Serving on :8080 by http,socks4,socks5
316+
http ::1:57768 -> http aa.bb.cc.dd:8080 -> www.googleapis.com:443
317+
http ::1:57772 -> www.yahoo.com:80
318+
socks4 ::1:57770 -> http aa.bb.cc.dd:8080 -> www.youtube.com:443
319319
320-
*pproxy* will serve incoming traffic by auto-detect http/socks5 protocol, redirect all google traffic to http proxy aa.bb.cc.dd:8080, and visit all other traffic directly from local server.
320+
*pproxy* will serve incoming traffic by http/socks4/socks5 auto-detect protocol, redirect all google traffic to http proxy aa.bb.cc.dd:8080, and visit all other traffic directly from local.
321321

322322
- Use cipher
323323

@@ -327,11 +327,16 @@ Examples
327327
328328
$ pproxy -i ss://:8888 -r ss://chacha20:cipher_key@aa.bb.cc.dd:12345 -v
329329
330-
Next, run pproxy.py remotely on server "aa.bb.cc.dd". The base64 encoded string of "chacha20:cipher_key" is supported:
330+
Next, run pproxy.py remotely on server "aa.bb.cc.dd". The base64 encoded string of "chacha20:cipher_key" is also supported:
331331

332332
.. code:: rst
333333
334334
$ pproxy -i ss://chacha20:cipher_key@:12345
335+
336+
The same as:
337+
338+
.. code:: rst
339+
335340
$ pproxy -i ss://Y2hhY2hhMjA6Y2lwaGVyX2tleQ==@:12345
336341
337342
The traffic between local and aa.bb.cc.dd is encrypted by stream cipher Chacha20 with secret key "cipher_key".
@@ -401,5 +406,5 @@ Examples
401406
402407
$ pproxy -r http://server1__ss://server2__socks://server3
403408
404-
*pproxy* will try to connect to server1 first, tell server1 proxy connect to server2, and tell server2 proxy connect to server3, and make traffic by server3.
409+
*pproxy* will connect to server1 first, tell server1 connect to server2, and tell server2 connect to server3, and make real traffic by server3.
405410

0 commit comments

Comments
 (0)