ci: add test case for range ports mapping

This commit is contained in:
fatedier
2018-01-29 23:13:10 +08:00
parent 1c35e9a0c6
commit 44e8108910
3 changed files with 21 additions and 2 deletions

View File

@@ -161,3 +161,9 @@ remote_port = 0
type = tcp
plugin = http_proxy
remote_port = 0
[range:range_tcp]
type = tcp
local_ip = 127.0.0.1
local_port = 30000-30001,30003
remote_port = 30000-30001,30003

View File

@@ -5,5 +5,5 @@ vhost_http_port = 10804
log_file = ./frps.log
log_level = debug
privilege_token = 123456
privilege_allow_ports = 10000-20000,20002,30000-40000
privilege_allow_ports = 10000-20000,20002,30000-50000
subdomain_host = sub.com