Skip to content

Commit

Permalink
chore: update default route-table value to 300
Browse files Browse the repository at this point in the history
Signed-off-by: black-desk <[email protected]>
  • Loading branch information
black-desk committed Jan 3, 2024
1 parent 8c8387c commit 6f84cc4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions docs/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ The "file exists" is error message of EEXIST, which means that:
2. Now you can just simply remove the route table and nftable ruleset by:

```bash
sudo ip route del table 400 local default dev lo scope host
sudo ip -6 route del table 400 local default dev lo scope host
sudo ip rule del fwmark 3000 lookup 400
sudo ip -6 rule del fwmark 3000 lookup 400
sudo ip route del table 300 local default dev lo scope host
sudo ip -6 route del table 300 local default dev lo scope host
sudo ip rule del fwmark 3000 lookup 300
sudo ip -6 rule del fwmark 3000 lookup 300
sudo nft flush table inet cgtproxy
sudo nft delete table inet cgtproxy
```
2 changes: 1 addition & 1 deletion pkg/cgtproxy/config/consts.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const (
DefaultConfig = `
version: 1
cgroup-root: AUTO
route-table: 400
route-table: 300
rules:
- match: \/.*
direct: true
Expand Down

0 comments on commit 6f84cc4

Please sign in to comment.