mirror of
https://github.com/bytedance/g3.git
synced 2026-05-04 22:51:02 +00:00
initial commit
This commit is contained in:
commit
13716f4923
1425 changed files with 163227 additions and 0 deletions
46
g3proxy/examples/inspect_tcp_stream/g3proxy.conf
Normal file
46
g3proxy/examples/inspect_tcp_stream/g3proxy.conf
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
---
|
||||
runtime:
|
||||
thread_number: 2
|
||||
|
||||
controller:
|
||||
local:
|
||||
recv_timeout: 30
|
||||
send_timeout: 1
|
||||
|
||||
auditor:
|
||||
- name: default
|
||||
protocol_inspection: {}
|
||||
tls_cert_generator: {}
|
||||
|
||||
server:
|
||||
- name: http_ipip
|
||||
escaper: default
|
||||
auditor: default
|
||||
type: tcp_stream
|
||||
listen:
|
||||
address: "127.0.0.1:8001"
|
||||
proxy_pass: "myip.ipip.net:80"
|
||||
- name: https_ipip
|
||||
escaper: default
|
||||
auditor: default
|
||||
type: tcp_stream
|
||||
listen:
|
||||
address: "127.0.0.1:8002"
|
||||
proxy_pass: "myip.ipip.net:443"
|
||||
- name: https_ms
|
||||
escaper: default
|
||||
auditor: default
|
||||
type: tcp_stream
|
||||
listen:
|
||||
address: "127.0.0.1:8003"
|
||||
proxy_pass: "www.microsoft.com:443"
|
||||
|
||||
resolver:
|
||||
- name: default
|
||||
type: c-ares
|
||||
server: 127.0.0.1
|
||||
|
||||
escaper:
|
||||
- name: default
|
||||
type: direct_fixed
|
||||
resolver: default
|
||||
Loading…
Add table
Add a link
Reference in a new issue