Comments (1)
- BB 端配置
user = "BB"
[[visitors]]
name = "ssh_stcp_visitor"
type = "stcp"
# 正确的配置!
serverUser="AA"
serverName = "ssh_stcp"
secretKey = "ssh_stcp"
bindAddr = "0.0.0.0"
bindPort = 19620
func (c *VisitorBaseConfig) Complete(g *ClientCommonConfig) {
if c.BindAddr == "" {
c.BindAddr = "127.0.0.1"
}
namePrefix := ""
if g.User != "" {
namePrefix = g.User + "."
}
c.Name = namePrefix + c.Name
// 核心代码
if c.ServerUser != "" {
c.ServerName = c.ServerUser + "." + c.ServerName
} else {
c.ServerName = namePrefix + c.ServerName
}
}
from frp.
Related Issues (20)
- frps运行报错,这个是什么意思? HOT 1
- 最新版frp启动后无法访问控制面板 HOT 1
- [Feature Request] 使用XTCP或者STCP类型配置客户端问题 HOT 5
- frpc和frps 之间通信问题
- unmarshal ProxyConfig error: json: unknown field "remotePort" HOT 1
- FRPC unmarshal ProxyConfig error HOT 1
- frp 和frps 中间如何进行通信?
- I have set up webserver, but after starting frps, I am unable to access the dashboard HOT 3
- 不兼容 windows server 2019 with containers 数据中心版 HOT 1
- 支持不同ip的用户使用相同的 frp 配置名字 HOT 2
- [Feature Request] 添加loongarch支持
- 在只有公网IP的情况下如何开放多个端口 HOT 2
- [Client server Connection]
- [Feature Request] I hope it to support customizing error page if server fails to connect all clients HOT 2
- XTCP 比 TCP 更耗资源吗? HOT 2
- 远程桌面 3389 udp开启失败 HOT 1
- https多域名开启后,对于通配符域名SSL证书无法支持,会自动重定向到其中一个网站;同一时间只能一个子域名能正常访问 HOT 4
- 用的最新版本0.58.1的服务端和客户端,几秒钟断线一次,无限循环,换了旧版本就没这个问题
- frp的http协议是否不支持【PROPFIND、OPTIONS、LOCK、UNLOCK方法】 HOT 4
- Please create a guide on how to make a TCP reverse tunnel for games like Minecraft
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.