mirror of https://github.com/rapiz1/rathole.git
24 lines
467 B
TOML
24 lines
467 B
TOML
|
[client]
|
||
|
remote_addr = "localhost:2333"
|
||
|
default_token = "default_token_if_not_specify"
|
||
|
|
||
|
[client.transport]
|
||
|
type = "tcp"
|
||
|
|
||
|
[client.services.echo]
|
||
|
local_addr = "localhost:8080"
|
||
|
[client.services.pingpong]
|
||
|
local_addr = "localhost:8081"
|
||
|
|
||
|
[server]
|
||
|
bind_addr = "0.0.0.0:2333"
|
||
|
default_token = "default_token_if_not_specify"
|
||
|
|
||
|
[server.transport]
|
||
|
type = "tcp"
|
||
|
|
||
|
[server.services.echo]
|
||
|
bind_addr = "0.0.0.0:2334"
|
||
|
[server.services.pingpong]
|
||
|
bind_addr = "0.0.0.0:2335"
|