Skip to content

Commit 9352f5d

Browse files
authored
Add files via upload
1 parent 8496633 commit 9352f5d

1 file changed

Lines changed: 17 additions & 7 deletions

File tree

‎README.rst‎

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Features
4646
- Unix domain socket.
4747
- Basic authentication for all protocols.
4848
- Regex pattern file to route/block by hostname.
49-
- SSL client/server support.
49+
- SSL/TLS client/server support.
5050
- Built-in encryption ciphers. (chacha20, aes-256-cfb, etc)
5151
- Shadowsocks OTA (One-Time-Auth_).
5252
- SSR plugins. (http_simple, verify_simple, tls1.2_ticket_auth, etc)
@@ -146,9 +146,9 @@ URI Syntax
146146
+--------+-----------------------------+
147147
| redir | redirect (iptables nat) |
148148
+--------+-----------------------------+
149-
| ssl | unsecured ssl (no cert) |
149+
| ssl | unsecured ssl/tls (no cert) |
150150
+--------+-----------------------------+
151-
| secure | secured ssl (required cert) |
151+
| secure | secured ssl/tls (cert) |
152152
+--------+-----------------------------+
153153
| direct | direct connection |
154154
+--------+-----------------------------+
@@ -329,15 +329,25 @@ Examples
329329
330330
*pproxy* listen on the unix domain socket "/tmp/pproxy_socket" with cipher "salsa20" and key "complex_cipher_key". OTA packet protocol is enabled by adding ! after cipher name. The traffic is tunneled to remote https proxy with simple http authentication.
331331

332-
- SSL server/client
332+
- SSL/TLS server
333333

334-
If you want to listen in SSL, you must specify ssl certificate and private key files by parameter "--ssl":
334+
If you want to listen in SSL/TLS, you must specify ssl certificate and private key files by parameter "--ssl":
335335

336336
.. code:: rst
337337
338338
$ pproxy -i http+ssl://0.0.0.0:443 -i http://0.0.0.0:80 --ssl server.crt,server.key --pac /autopac
339339
340-
*pproxy* listen on both 80 HTTP and 443 HTTPS ports, use the specified SSL certificate and private key files. The "--pac" enable PAC feature, so you can put "https://yourdomain.com/"" path in your device's auto-configure url.
340+
*pproxy* listen on both 80 HTTP and 443 HTTPS ports, use the specified SSL/TLS certificate and private key files. The "--pac" enable PAC feature, so you can put "https://yourdomain.com/autopac" path in your device's auto-configure url.
341+
342+
Simple guide for generating self-signed ssl certificates:
343+
344+
.. code:: rst
345+
346+
$ openssl genrsa -des3 -out server.key 1024
347+
$ openssl req -new -key server.key -out server.csr
348+
$ cp server.key server.key.org
349+
$ openssl rsa -in server.key.org -out server.key
350+
$ openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
341351
342352
- SSR plugins
343353

@@ -374,5 +384,5 @@ Examples
374384
375385
$ pproxy -r http://server1__ss://server2__socks://server3
376386
377-
*pproxy* will try to connect to server1 first, tell server1 proxy tunnel to server2, and tell server2 proxy tunnel to server3, and make traffic by server3.
387+
*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.
378388

0 commit comments

Comments
 (0)