mirror of
https://github.com/bytedance/g3.git
synced 2026-05-05 07:10:51 +00:00
g3proxy: rename .conf example conf to .yml
This commit is contained in:
parent
2ad6b4d9ea
commit
570d58dadd
50 changed files with 4 additions and 4 deletions
36
g3proxy/examples/chain_socks_proxy/g3proxy.yml
Normal file
36
g3proxy/examples/chain_socks_proxy/g3proxy.yml
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