Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: correct grammatical and formatting errors in the gaming-oriented-routing document #548

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Correct grammatical and formatting errors
  • Loading branch information
rustcult committed Jun 16, 2024
commit 8e41b1af47d9bda420644c0635aec1331f5eb37a
18 changes: 11 additions & 7 deletions docs/en/configuration/gaming-oriented-routing.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
DAE Config (e.g. /etc/dae/config.dae)
# Routing designed specifically for gaming
## Examples

### DAE Config (e.g. /etc/dae/config.dae)

```
routing {
#stop using low efficiency socks5 proxy or else
#dscp(8) -> game
# Stop using low efficiency socks5 proxy ...
# dscp(8) -> game

#using fw mark for ultra fast gaming experience
### Use fw mark for ultra fast gaming experience
dscp(8) -> direct(mark:0x800)
}

```

OpenWRT Network Config (e.g. /etc/config/network)
### OpenWRT Network Config (e.g. /etc/config/network)
This article uses the WireGuard tunnel in OpenWRT as an example; other tunnel configuration files can refer to the WireGuard tunnel.

Please choose the tunnel MTU carefully (CS2 Require MTU > 1300 due to UDP Ping (1300 bytes))

Expand Down Expand Up @@ -50,7 +54,7 @@ config rule6
option mark '0x800/0x800'
```

OpenWRT Firewall Config (e.g. /etc/config/firewall)
### OpenWRT Firewall Config (e.g. /etc/config/firewall)

```
config nat
Expand All @@ -63,7 +67,7 @@ config nat

config nat
option src 'vpn'
option src_ip '[Gaming PC IPv6 Address]'
option src_ip '[Gaming PC IPv6 Address]'
option target 'SNAT'
option snat_ip 'fd42:42:42::2'
option family 'ipv6'
Expand Down