Comments (5)
from frp.
@superzjg 我看了下这个评论,是要改成tcp吗?我目前是这样写的,但是不管用
(中文隐藏实际值)
serverAddr = "服务端ip"
serverPort = 7000
[[proxies]]
name = "web"
type = "https"
customDomains = ["域名1"]
[proxies.plugin]
type = "https2http"
localAddr = "客户端ip:端口1"
crtPath = "证书文件地址"
keyPath = "证书文件地址"
hostHeaderRewrite = "客户端ip"
requestHeaders.set.x-from-where = "frp"
[[proxies]]
name = "web2"
type = "https"
customDomains = ["域名2"]
[proxies.plugin]
type = "https2http"
localAddr = "客户端ip:端口2"
crtPath = "证书文件地址"
keyPath = "证书文件地址"
hostHeaderRewrite = "客户端ip"
requestHeaders.set.x-from-where = "frp"
from frp.
@sunnysteam hi,最后有配置成功吗?
from frp.
今天试了连接家里的两架server,这个学法可行。
[[proxies]]
name = "web_web01"
type = "https"
customDomains = ["web01.example.com"]
[proxies.plugin]
type = "https2http"
localAddr = "192.168.99.100:8080"
crtPath = "./server.crt"
keyPath = "./server.key"
# hostHeaderRewrite = "127.0.0.1"
requestHeaders.set.x-from-where = "frp"
[[proxies]]
name = "web_web02"
type = "https"
customDomains = ["web02.example.com"]
[proxies.plugin]
type = "https2http"
localAddr = "127.0.0.1:80"
crtPath = "./server.crt"
keyPath = "./server.key"
# hostHeaderRewrite = "127.0.0.1"
requestHeaders.set.x-from-where = "frp"
from frp.
@sunnysteam hi,最后有配置成功吗?
没有,貌似不支持两个https的情况。改成用tcp了,公网服务器上用nginx带上证书
from frp.
Related Issues (20)
- frpc 0.53.0 crash HOT 2
- [Feature Request] open a tunnel on frps using other applications by calling a method passing configuration as string parameter HOT 2
- Is the configuration secure enough for RDP access? HOT 2
- QUIC Protocol is not working on FreeBSD HOT 2
- 360防火墙报病毒,是否有异常? HOT 1
- frpc客户端莫名其妙的掉线 HOT 2
- [Feature Request] 请问tcp转发时能否获取到真实的公网ip? HOT 3
- 启动之后,是不是留了后门了 HOT 5
- 穿透内网多个http端口出来 HOT 5
- 两端 toml 都配置了 user 名称,stcp和xtcp无法使用 HOT 1
- 服务器必须使用IPV4地址吗,怎么才能使用二级域名做为服务器地址呢? HOT 4
- [Feature Request] HOT 2
- 最新版的frp,http端口问题 HOT 2
- [Feature Request] Add an API to server to disconnect the client HOT 2
- 客户端-同一个ip,不支持多个端口穿透 HOT 1
- Allow through UFW HOT 1
- frps_full_example.toml内容勘误 HOT 2
- [Feature Request] 服务器网络异常时,重试时间是如何确定的? HOT 3
- 使用tcpmux无法访问网站 HOT 2
- [Feature Request] 打洞代码参数使用疑惑 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frp.