Remove the modification to the routing table

This commit is contained in:
ssrlive 2023-03-22 10:24:55 +08:00 committed by GitHub
parent ac60f39a88
commit 730d8c7045
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.