From 730d8c7045932492b42bd71524bbbdd876677462 Mon Sep 17 00:00:00 2001 From: ssrlive <30760636+ssrlive@users.noreply.github.com> Date: Wed, 22 Mar 2023 10:24:55 +0800 Subject: [PATCH] Remove the modification to the routing table --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 28818dc..04996af 100644 --- a/README.md +++ b/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.