mirror of
https://github.com/bytedance/g3.git
synced 2026-05-03 14:10:39 +00:00
g3proxy: default to use yaml conf file extension
This commit is contained in:
parent
1530f4ce17
commit
d58bd61d28
89 changed files with 21 additions and 21 deletions
36
g3proxy/examples/chain_socks_proxy/g3proxy.yaml
Normal file
36
g3proxy/examples/chain_socks_proxy/g3proxy.yaml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
---
|
||||
runtime:
|
||||
thread_number: 2
|
||||
|
||||
server:
|
||||
- name: socks10087
|
||||
escaper: default
|
||||
type: socks_proxy
|
||||
listen:
|
||||
address: "[::]:10087"
|
||||
enable_udp_associate: true
|
||||
udp_socket_buffer: 512K
|
||||
conn_limit: 100M
|
||||
relay_limit: 10M
|
||||
- name: socks10086
|
||||
escaper: socks
|
||||
type: socks_proxy
|
||||
listen: "[::]:10086"
|
||||
enable_udp_associate: true
|
||||
|
||||
resolver:
|
||||
- name: default
|
||||
type: c-ares
|
||||
server: 223.5.5.5
|
||||
|
||||
escaper:
|
||||
- name: default
|
||||
type: direct_fixed
|
||||
no_ipv6: true
|
||||
resolver: default
|
||||
resolve_strategy: IPv4Only
|
||||
tcp_conn_limit: 80M
|
||||
udp_relay_limit: 10M
|
||||
- name: socks
|
||||
type: proxy_socks5
|
||||
proxy_addr: "[::1]:10087"
|
||||
Loading…
Add table
Add a link
Reference in a new issue