You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @fatedier
I'm trying to setup an stcp tunnel with frp via the ssh gateway.
On machine A I started frp with the following command to forward ssh port 22:
Furthermore
The problem is that I haven't quite understood how to start the frp ssh tunnel in visitor to connect to machine A.
I tried to forward the remote port (22) to local port (9000):
Could you kindly explain to me how to use ssh gateway to configure stcp (secret_ssh and visitors) on both machine A and machine B.
What I want to get is the equivalent of this toml configuration in stcp ssh gateway for machine A and B:
[[proxies]]
name = "secret-tcp"
type = "stcp"
secretKey = "abcdefg"
localIP = "127.0.0.1"
localPort = 22
allowUsers = ["*"]
Machine B
[[visitors]]
name = "tcp-visitor"
type = "stcp"
serverName = "secret-tcp"
secretKey = "abcdefg"
bindAddr = "127.0.0.1"
bindPort = 9000
can you show me the complete commands?
machine A (stcp secret_ssh): ssh command=??
Machine B (stcp visitors): ssh command=??
Bug Description
Hi @fatedier
I'm trying to setup an stcp tunnel with frp via the ssh gateway.
On machine A I started frp with the following command to forward ssh port 22:
Frp start with:
Note: RemoteAddress is empty... Is correct?
Furthermore
The problem is that I haven't quite understood how to start the frp ssh tunnel in visitor to connect to machine A.
I tried to forward the remote port (22) to local port (9000):
The connection fail.
Could you kindly explain to me how to use ssh gateway to configure stcp (secret_ssh and visitors) on both machine A and machine B.
What I want to get is the equivalent of this toml configuration in stcp ssh gateway for machine A and B:
Machine B
can you show me the complete commands?
machine A (stcp secret_ssh): ssh command=??
Machine B (stcp visitors): ssh command=??
frpc Version
0.61.0
frps Version
0.61.0
System Architecture
linux/amd64
Configurations
frps configuration:
bindPort = 7835
kcpBindPort = 6000
quicBindPort = 7000
sshTunnelGateway.bindPort = 2222
bindAddr = "0.0.0.0"
proxyBindAddr = "0.0.0.0"
transport.maxPoolCount = 50
vhostHTTPPort = 8080
vhostHTTPTimeout = 7200
webServer.addr = "0.0.0.0"
webServer.port = 7500
webServer.user = "admin"
webServer.password = "mytoken"
auth.method = "token"
auth.token = "mytoken"
subDomainHost = "frp.mydomain.link "
Logs
No response
Steps to reproduce
...
Affected area
The text was updated successfully, but these errors were encountered: