mirror of
https://github.com/bytedance/g3.git
synced 2026-05-02 21:50:44 +00:00
initial commit
This commit is contained in:
commit
13716f4923
1425 changed files with 163227 additions and 0 deletions
33
g3proxy/examples/simple_socks_proxy/g3proxy.conf
Normal file
33
g3proxy/examples/simple_socks_proxy/g3proxy.conf
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
---
|
||||
runtime:
|
||||
thread_number: 2
|
||||
|
||||
controller:
|
||||
local:
|
||||
recv_timeout: 30
|
||||
send_timeout: 1
|
||||
|
||||
server:
|
||||
- name: test
|
||||
escaper: default
|
||||
type: socks_proxy
|
||||
listen:
|
||||
address: "[::]:10086"
|
||||
enable_udp_associate: true
|
||||
udp_socket_buffer: 512K
|
||||
conn_limit: 100M
|
||||
relay_limit: 10M
|
||||
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue