Merge pull request #183 from fatedier/fatedier/udp

support udp type
This commit is contained in:
Pan Hao
2016-12-19 07:30:44 -06:00
committed by GitHub
39 changed files with 5156 additions and 79 deletions

View File

@@ -29,6 +29,11 @@ use_gzip = false
# connections will be established in advance, default value is zero
pool_count = 10
[dns]
type = udp
local_ip = 114.114.114.114
local_port = 53
# Resolve your domain names to [server_addr] so you can use http://web01.yourdomain.com to browse web01 and http://web02.yourdomain.com to browse web02, the domains are set in frps.ini
[web01]
type = http

View File

@@ -39,6 +39,12 @@ auth_token = 123
bind_addr = 0.0.0.0
listen_port = 6000
[dns]
type = udp
auth_token = 123
bind_addr = 0.0.0.0
listen_port = 5353
[web01]
# if type equals http, vhost_http_port must be set
type = http