Browse Source
Remove the modification to the routing table
pull/9/head
ssrlive
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
9 additions and
0 deletions
-
README.md
|
|
|
@ -36,6 +36,15 @@ Note that if you paste these commands into a shell script, which you then run wi |
|
|
|
For DNS to work, you might need an additional tool like [dnsproxy](https://github.com/AdguardTeam/dnsproxy) that is |
|
|
|
configured to listen on a local UDP port and communicates with the upstream DNS server via TCP. |
|
|
|
|
|
|
|
When you end the running of this program and want to eliminate the impact caused by the above several commands, |
|
|
|
you can execute the following commands. |
|
|
|
```shell |
|
|
|
sudo ip route del 0.0.0.0/1 dev tun0 |
|
|
|
sudo ip route del 128.0.0.0/1 dev tun0 |
|
|
|
sudo ip link set tun0 down |
|
|
|
sudo ip tuntap del tun0 mode tun |
|
|
|
``` |
|
|
|
|
|
|
|
## CLI |
|
|
|
``` |
|
|
|
Tunnel interface to proxy. |
|
|
|
|