mirror of
https://github.com/fatedier/frp.git
synced 2025-07-29 09:18:11 +00:00
Compare commits
1 Commits
dev
...
devin/1753
Author | SHA1 | Date | |
---|---|---|---|
|
42ab43374f |
@@ -1,3 +1,7 @@
|
||||
## Features
|
||||
|
||||
* Support tokenSource for loading authentication tokens from files
|
||||
* Support tokenSource for loading authentication tokens from files
|
||||
|
||||
## Fixes
|
||||
|
||||
* Fix SSH tunnel gateway incorrectly binding to proxyBindAddr instead of bindAddr, which caused external connections to fail when proxyBindAddr was set to 127.0.0.1
|
||||
|
@@ -262,7 +262,7 @@ func NewService(cfg *v1.ServerConfig) (*Service, error) {
|
||||
}
|
||||
|
||||
if cfg.SSHTunnelGateway.BindPort > 0 {
|
||||
sshGateway, err := ssh.NewGateway(cfg.SSHTunnelGateway, cfg.ProxyBindAddr, svr.sshTunnelListener)
|
||||
sshGateway, err := ssh.NewGateway(cfg.SSHTunnelGateway, cfg.BindAddr, svr.sshTunnelListener)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("create ssh gateway error: %v", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user