Skip to content

Commit

Permalink
Merge pull request #2479 from 77-QiQi/uim
Browse files Browse the repository at this point in the history
[Uim] for sing-box 1.11.0+
  • Loading branch information
Anankke authored Nov 11, 2024
2 parents ae4dede + c41c5d5 commit 6286bb1
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions config/appprofile.example.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,31 +100,31 @@
'inbounds' => [
[
'type' => 'tun',
'tag' => 'in',
'address' => [
'172.18.0.1/30',
'fdfe:dcba:9876::1/126',
],
'auto_route' => true,
'strict_route' => true,
'udp_timeout' => 60,
'stack' => 'mixed',
'sniff' => true,
'sniff_override_destination' => true,
'udp_timeout' => 60,
],
],
'outbounds' => [
[
'tag' => 'select',
'type' => 'selector',
'default' => 'auto',
'outbounds' => [
'auto',
],
'default' => 'auto',
'interrupt_exist_connections' => true,
],
[
'tag' => 'auto',
'type' => 'urltest',
'tag' => 'auto',
'outbounds' => [],
'url' => 'https://cp.cloudflare.com/generate_204',
'interval' => '3m',
Expand All @@ -133,23 +133,20 @@
'interrupt_exist_connections' => true,
],
[
'tag' => 'direct',
'type' => 'direct',
],
[
'tag' => 'block',
'type' => 'block',
],
[
'tag' => 'dns-out',
'type' => 'dns',
'tag' => 'direct',
],
],
'route' => [
'rules' => [
[
'inbound' => 'in',
'action' => 'sniff',
'timeout' => '1s',
],
[
'protocol' => 'dns',
'outbound' => 'dns-out',
'action' => 'hijack-dns',
],
[
'clash_mode' => 'Direct',
Expand All @@ -168,7 +165,8 @@
],
[
'protocol' => 'stun',
'outbound' => 'block',
'action' => 'reject',
'method' => 'default',
],
[
'ip_is_private' => true,
Expand All @@ -193,8 +191,9 @@
'update_interval' => '1d',
],
],
'auto_detect_interface' => true,
'final' => 'select',
'auto_detect_interface' => true,
'override_android_vpn' => true,
],
'experimental' => [
'cache_file' => [
Expand Down

0 comments on commit 6286bb1

Please sign in to comment.