mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-07-19 13:58:08 +03:00
Add OpenVPN, TrustTunnel, Sudoku, inbound managers. Fixes
This commit is contained in:
78
examples/trusttunnel/client.json
Normal file
78
examples/trusttunnel/client.json
Normal file
@@ -0,0 +1,78 @@
|
||||
{
|
||||
"dns": {
|
||||
"servers": [
|
||||
{
|
||||
"type": "local",
|
||||
"tag": "default"
|
||||
}
|
||||
]
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"type": "mixed",
|
||||
"tag": "mixed-in",
|
||||
"listen_port": 7897
|
||||
}
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"type": "direct",
|
||||
"tag": "direct"
|
||||
},
|
||||
{
|
||||
"type": "trusttunnel",
|
||||
"tag": "trusttunnel-h2",
|
||||
"server": "example.com",
|
||||
"server_port": 443,
|
||||
"username": "user1",
|
||||
"password": "password1",
|
||||
"network": ["tcp", "udp"],
|
||||
"health_check": true,
|
||||
"multiplex": {
|
||||
"enabled": true,
|
||||
"max_connections": 8,
|
||||
"min_streams": 5
|
||||
},
|
||||
"tls": {
|
||||
"enabled": true,
|
||||
"server_name": "example.com"
|
||||
}
|
||||
// Dial Fields
|
||||
},
|
||||
{
|
||||
"type": "trusttunnel",
|
||||
"tag": "trusttunnel-quic",
|
||||
"server": "example.com",
|
||||
"server_port": 443,
|
||||
"username": "user1",
|
||||
"password": "password1",
|
||||
"network": ["tcp", "udp"],
|
||||
"health_check": true,
|
||||
"quic": true,
|
||||
"congestion_controller": "bbr", // bbr, bbr_standard, bbr2, bbr2_variant, cubic, reno
|
||||
"bbr_profile": "standard", // standard, conservative, aggressive
|
||||
"cwnd": 32,
|
||||
"multiplex": {
|
||||
"enabled": true,
|
||||
"max_connections": 8,
|
||||
"min_streams": 5
|
||||
},
|
||||
"tls": {
|
||||
"enabled": true,
|
||||
"server_name": "example.com"
|
||||
}
|
||||
// Dial Fields
|
||||
},
|
||||
{
|
||||
"type": "selector",
|
||||
"tag": "trusttunnel-selector",
|
||||
"outbounds": ["trusttunnel-h2", "trusttunnel-quic"],
|
||||
"default": "trusttunnel-h2"
|
||||
}
|
||||
],
|
||||
"route": {
|
||||
"final": "trusttunnel-selector",
|
||||
"default_domain_resolver": "default",
|
||||
"auto_detect_interface": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user