client plugin: added plugin tls2raw (#4341)

This commit is contained in:
fatedier
2024-07-25 14:28:17 +08:00
committed by GitHub
parent b4d5d8c756
commit 69cc422edf
17 changed files with 187 additions and 56 deletions

View File

@@ -325,6 +325,16 @@ localAddr = "127.0.0.1:80"
hostHeaderRewrite = "127.0.0.1"
requestHeaders.set.x-from-where = "frp"
[[proxies]]
name = "plugin_tls2raw"
type = "https"
remotePort = 6008
[proxies.plugin]
type = "tls2raw"
localAddr = "127.0.0.1:80"
crtPath = "./server.crt"
keyPath = "./server.key"
[[proxies]]
name = "secret_tcp"
# If the type is secret tcp, remotePort is useless