|
|
@ -128,11 +128,15 @@ local_port = 22
|
|
|
|
use_encryption = false
|
|
|
|
use_encryption = false
|
|
|
|
use_compression = false
|
|
|
|
use_compression = false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# user of frpc should be same in both stcp server and stcp vistor
|
|
|
|
[secret_tcp_vistor]
|
|
|
|
[secret_tcp_vistor]
|
|
|
|
# frpc role vistor -> frps -> frpc role server
|
|
|
|
# frpc role vistor -> frps -> frpc role server
|
|
|
|
role = vistor
|
|
|
|
role = vistor
|
|
|
|
type = stcp
|
|
|
|
type = stcp
|
|
|
|
|
|
|
|
# the server name you want to vistor
|
|
|
|
|
|
|
|
server_name = secret_tcp
|
|
|
|
sk = abcdefg
|
|
|
|
sk = abcdefg
|
|
|
|
|
|
|
|
# connect this address to vistor stcp server
|
|
|
|
bind_addr = 127.0.0.1
|
|
|
|
bind_addr = 127.0.0.1
|
|
|
|
bind_port = 9000
|
|
|
|
bind_port = 9000
|
|
|
|
use_encryption = false
|
|
|
|
use_encryption = false
|
|
|
|