Update README.md
- Fixed PayPal spelling in navigation - Switched code section in TLS to ini format
This commit is contained in:
parent
b10ff4cb06
commit
10674cb85a
21
README.md
21
README.md
@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
# frp
|
# frp
|
||||||
|
|
||||||
[](https://circleci.com/gh/fatedier/frp)
|
[](https://circleci.com/gh/fatedier/frp)
|
||||||
@ -67,7 +68,7 @@ frp also has a P2P connect mode.
|
|||||||
* [Donation](#donation)
|
* [Donation](#donation)
|
||||||
* [AliPay](#alipay)
|
* [AliPay](#alipay)
|
||||||
* [Wechat Pay](#wechat-pay)
|
* [Wechat Pay](#wechat-pay)
|
||||||
* [Paypal](#paypal)
|
* [PayPal](#paypal)
|
||||||
|
|
||||||
<!-- vim-markdown-toc -->
|
<!-- vim-markdown-toc -->
|
||||||
|
|
||||||
@ -519,30 +520,30 @@ For port multiplexing, frp sends a first byte `0x17` to dial a TLS connection.
|
|||||||
|
|
||||||
Configure `tls_enable = true` in the `[common]` section to `frpc.ini` to enable this feature.
|
Configure `tls_enable = true` in the `[common]` section to `frpc.ini` to enable this feature.
|
||||||
|
|
||||||
To enforce `frps` to only accept TLS connections - configure `tls_only = true` in the `[common]` section in `frps.ini`. **This is optional.**
|
To **enforce** `frps` to only accept TLS connections - configure `tls_only = true` in the `[common]` section in `frps.ini`. **This is optional.**
|
||||||
|
|
||||||
`frpc` TLS settings (under the `[common`] section):
|
**`frpc` TLS settings (under the `[common]` section):**
|
||||||
`
|
```ini
|
||||||
tls_enable = true
|
tls_enable = true
|
||||||
tls_cert_file = certificate.crt
|
tls_cert_file = certificate.crt
|
||||||
tls_key_file = certificate.key
|
tls_key_file = certificate.key
|
||||||
tls_trusted_ca_file = ca.crt
|
tls_trusted_ca_file = ca.crt
|
||||||
`
|
```
|
||||||
|
|
||||||
`frps` TLS settings (under the `[common`] section):
|
**`frps` TLS settings (under the `[common]` section):**
|
||||||
`
|
```ini
|
||||||
tls_only = true
|
tls_only = true
|
||||||
tls_enable = true
|
tls_enable = true
|
||||||
tls_cert_file = certificate.crt
|
tls_cert_file = certificate.crt
|
||||||
tls_key_file = certificate.key
|
tls_key_file = certificate.key
|
||||||
tls_trusted_ca_file = ca.crt
|
tls_trusted_ca_file = ca.crt
|
||||||
`
|
```
|
||||||
|
|
||||||
You will need a root CA cert and at least one regular SSL certificate. It can be self-signed or regular (such as Let's Encrypt or another SSL certificate provider).
|
You will need **a root CA cert** and **at least one SSL/TLS certificate**. It **can** be self-signed or regular (such as Let's Encrypt or another SSL/TLS certificate provider).
|
||||||
|
|
||||||
If you want to generate the needed certs fast, download and run [Generate-Certs](https://github.com/asheroto/Generate-Certs) and it will generate the certs for you in less than a minute. Supports Windows + Linux.
|
If you want to generate the needed certs fast, download and run [Generate-Certs](https://github.com/asheroto/Generate-Certs) and it will generate the certs for you in less than a minute. Supports Windows + Linux.
|
||||||
|
|
||||||
If you using `frp` via IP address and not hostname, make sure to set the appropriate IP address in the Subject Alternative Name (SAN) area when generating SSL Certificates.
|
If you using `frp` via IP address and not hostname, make sure to set the appropriate IP address in the Subject Alternative Name (SAN) area when generating SSL/TLS Certificates.
|
||||||
|
|
||||||
### Hot-Reloading frpc configuration
|
### Hot-Reloading frpc configuration
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user