mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-06-13 21:54:13 +08:00
documentation: Fixes
This commit is contained in:
parent
cf89b24a2c
commit
5203129b9c
@ -11,13 +11,15 @@ icon: material/new-box
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"dns": {
|
"dns": {
|
||||||
"servers": {
|
"servers": [
|
||||||
|
{
|
||||||
"type": "fakeip",
|
"type": "fakeip",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
|
||||||
"inet4_range": "198.18.0.0/15",
|
"inet4_range": "198.18.0.0/15",
|
||||||
"inet6_range": "fc00::/18"
|
"inet6_range": "fc00::/18"
|
||||||
}
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -11,7 +11,8 @@ icon: material/new-box
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"dns": {
|
"dns": {
|
||||||
"servers": {
|
"servers": [
|
||||||
|
{
|
||||||
"type": "h3",
|
"type": "h3",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
|
||||||
@ -25,6 +26,7 @@ icon: material/new-box
|
|||||||
|
|
||||||
// Dial Fields
|
// Dial Fields
|
||||||
}
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -11,7 +11,8 @@ icon: material/new-box
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"dns": {
|
"dns": {
|
||||||
"servers": {
|
"servers": [
|
||||||
|
{
|
||||||
"type": "https",
|
"type": "https",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
|
||||||
@ -25,6 +26,7 @@ icon: material/new-box
|
|||||||
|
|
||||||
// Dial Fields
|
// Dial Fields
|
||||||
}
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -11,7 +11,8 @@ icon: material/new-box
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"dns": {
|
"dns": {
|
||||||
"servers": {
|
"servers": [
|
||||||
|
{
|
||||||
"type": "quic",
|
"type": "quic",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
|
||||||
@ -22,6 +23,7 @@ icon: material/new-box
|
|||||||
|
|
||||||
// Dial Fields
|
// Dial Fields
|
||||||
}
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -11,7 +11,8 @@ icon: material/new-box
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"dns": {
|
"dns": {
|
||||||
"servers": {
|
"servers": [
|
||||||
|
{
|
||||||
"type": "tcp",
|
"type": "tcp",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
|
||||||
@ -20,6 +21,7 @@ icon: material/new-box
|
|||||||
|
|
||||||
// Dial Fields
|
// Dial Fields
|
||||||
}
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -11,7 +11,8 @@ icon: material/new-box
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"dns": {
|
"dns": {
|
||||||
"servers": {
|
"servers": [
|
||||||
|
{
|
||||||
"type": "tls",
|
"type": "tls",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
|
||||||
@ -22,6 +23,7 @@ icon: material/new-box
|
|||||||
|
|
||||||
// Dial Fields
|
// Dial Fields
|
||||||
}
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -11,7 +11,8 @@ icon: material/new-box
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"dns": {
|
"dns": {
|
||||||
"servers": {
|
"servers": [
|
||||||
|
{
|
||||||
"type": "udp",
|
"type": "udp",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
|
||||||
@ -20,6 +21,7 @@ icon: material/new-box
|
|||||||
|
|
||||||
// Dial Fields
|
// Dial Fields
|
||||||
}
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -8,6 +8,7 @@ sing-box 使用 JSON 作为配置文件格式。
|
|||||||
{
|
{
|
||||||
"log": {},
|
"log": {},
|
||||||
"dns": {},
|
"dns": {},
|
||||||
|
"ntp": {},
|
||||||
"endpoints": [],
|
"endpoints": [],
|
||||||
"inbounds": [],
|
"inbounds": [],
|
||||||
"outbounds": [],
|
"outbounds": [],
|
||||||
@ -22,6 +23,7 @@ sing-box 使用 JSON 作为配置文件格式。
|
|||||||
|----------------|------------------------|
|
|----------------|------------------------|
|
||||||
| `log` | [日志](./log/) |
|
| `log` | [日志](./log/) |
|
||||||
| `dns` | [DNS](./dns/) |
|
| `dns` | [DNS](./dns/) |
|
||||||
|
| `ntp` | [NTP](./ntp/) |
|
||||||
| `endpoints` | [端点](./endpoint/) |
|
| `endpoints` | [端点](./endpoint/) |
|
||||||
| `inbounds` | [入站](./inbound/) |
|
| `inbounds` | [入站](./inbound/) |
|
||||||
| `outbounds` | [出站](./outbound/) |
|
| `outbounds` | [出站](./outbound/) |
|
||||||
|
@ -8,7 +8,7 @@ icon: material/delete-clock
|
|||||||
|
|
||||||
### Structure
|
### Structure
|
||||||
|
|
||||||
```json F
|
```json
|
||||||
{
|
{
|
||||||
"type": "block",
|
"type": "block",
|
||||||
"tag": "block"
|
"tag": "block"
|
||||||
|
@ -70,7 +70,7 @@ Tag of rule-set.
|
|||||||
|
|
||||||
==Required==
|
==Required==
|
||||||
|
|
||||||
List of [Headless Rule](../headless-rule/).
|
List of [Headless Rule](./headless-rule/).
|
||||||
|
|
||||||
### Local or Remote Fields
|
### Local or Remote Fields
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@
|
|||||||
|
|
||||||
==必填==
|
==必填==
|
||||||
|
|
||||||
一组 [无头规则](../headless-rule/).
|
一组 [无头规则](./headless-rule/).
|
||||||
|
|
||||||
### 本地或远程字段
|
### 本地或远程字段
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user