initial commit

This commit is contained in:
zhangjingqiang 2023-03-09 17:55:45 +08:00
commit 13716f4923
1425 changed files with 163227 additions and 0 deletions

View file

@ -0,0 +1,8 @@
name: default
type: direct_fixed
no_ipv6: true
resolver: default
resolve_strategy: IPv4Only
tcp_conn_limit: 80M
udp_relay_limit: 10M

View file

@ -0,0 +1,16 @@
---
runtime:
thread_number: 2
controller:
local:
recv_timeout: 30
send_timeout: 1
server: server.d/
resolver: resolver.d/
escaper: escaper.d/
user-group: user-group.d/

View file

@ -0,0 +1,4 @@
name: default
type: c-ares
server: 223.5.5.5 223.6.6.6

View file

@ -0,0 +1,5 @@
name: extra_port
type: plain_tcp_port
listen:
address: "[::]:18118"
server: http

View file

@ -0,0 +1,7 @@
name: http
escaper: default
user_group: default
type: http_proxy
listen:
address: "[::]:13128"
conn_limit: 100M

View file

@ -0,0 +1,7 @@
name: intelli
type: intelli_proxy
http_server: http
socks_server: socks
listen:
address: "[::]:1810"
instance: 8

View file

@ -0,0 +1,7 @@
name: socks
escaper: default
user-group: default
type: socks_proxy
listen:
address: "[::]:11080"
conn_limit: 100M

View file

@ -0,0 +1,25 @@
name: default
static_users:
- name: root
# password: toor
token:
salt: 113323bdab6fd2cc
md5: 5c81f2becadde7fa5fde9026652ccc84
sha1: ff9d5c1a14328dd85ee95d4e574bd0558a1dfa96
dst_port_filter:
- 80
- 443
dst_host_filter_set:
exact:
# for ipinfo.io
- ipinfo.io
- 1.1.1.1
child:
# for myip.ipip.net
- "ipip.net"
regex:
# for lumtest.com/myip.json
- "lum[a-z]*[.]com$"
source:
type: file
path: dynamic_users.json

View file

@ -0,0 +1,44 @@
[
{
"name": "foo",
"token": {
"salt": "113323bdab6fd2cc",
"md5": "5c81f2becadde7fa5fde9026652ccc84",
"sha1": "ff9d5c1a14328dd85ee95d4e574bd0558a1dfa96"
},
"dst_host_filter_set": {
"exact_match": {
"default": "allow",
"forbid": "192.168.1.1"
},
"subnet_match": {
"default": "allow",
"forbid": [
"192.168.0.0/16"
]
}
},
"dst_port_filter": {
"default": "allow",
"forbid": [
22,
"50000-60000"
]
},
"tcp_conn_limit": {
"shift_millis": 8,
"north": "10M",
"south": "10M"
}
},
{
"name": "bar",
"token": "$1$rnfSARNK$DJNIbbMpjjSmral92rE3k1",
"proxy_request_filter": {
"default": "allow",
"forbid": "ftp_over_http"
},
"tcp_conn_limit": "10M",
"udp_relay_limit": "1M"
}
]