Description
The tunnel fails when a new port is added while the tunnel is established and a large number of ports are exchanging information between the two servers in the tunnel. In such a way that I have to close the tunnel on both the server and client sides and restart it again to works again
server side :
server.toml
[server]
bind_addr = "0.0.0.0:xxxx" # xxxx specifies the port that rathole listens for clients
[server.services.my_123]
token = "******" Token that is used to authenticate the client for the service. Change to a arbitrary value.
bind_addr = "0.0.0.0:4321" # '4321' specifies the port that exposes my_nas_ssh
to the Internet
client side :
client.toml
[client]
remote_addr = "x.x.x.x:xxxx" # Server 1 address of the server. The port must be the same
[client.services.my_123]
token = "******" Must be the same with the server to pass the validation
local_addr = "1.2.3.4:4321" # The address of the service that needs to be forwarded
is there any config or suggestion to add to server and client side to solve the problem ?