Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Toperlock authored Nov 7, 2023
1 parent 81e6e76 commit b92ec25
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion instructions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ Multiple rules will be executed in order.

## Hide the cmd window that pops up when Windows runs sing-box

> Use WinSW to set sing-box.exe as a Windows service, [WinSW tutorial](https://blog.xuven.xyz/post/WinSW/)
> Use WinSW to set sing-box.exe as a Windows service, [WinSW tutorial](https://github.com/winsw/winsw)
> XML configuration file modification
```xml
Expand All @@ -388,6 +388,28 @@ Multiple rules will be executed in order.

</details>

## In non-graphical clients, operations without using tun

For example, if you use the kernel to run sing-box on Windows, delete the tun field in the inbounds:

```json
"inbounds": [
{
"type": "mixed",
"listen": "127.0.0.1",
"listen_port": 2080, //This port must be consistent with the windows proxy port
"sniff": true,
"set_system_proxy": true,
"sniff_override_destination": false,
"domain_strategy": "ipv4_only"
}
]
```

<div align="left">
<img src="https://github.com/Toperlock/sing-box-subscribe/assets/86833913/387f2077-b8b6-42ed-9658-361b28179db2" alt="download" width="50%" />
</div>

<details>
<summary><b>Effect Reference</b></summary>

Expand Down

0 comments on commit b92ec25

Please sign in to comment.