From c4a3bfcca0a5cdba9edef75d4b6d26f72cb808fa Mon Sep 17 00:00:00 2001 From: spiritlhl <103393591+spiritLHLS@users.noreply.github.com> Date: Wed, 25 Oct 2023 10:10:44 +0800 Subject: [PATCH] Update lxd_custom.md --- docs/guide/lxd_custom.md | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/docs/guide/lxd_custom.md b/docs/guide/lxd_custom.md index 41e61838d1..c04d5a5a0b 100644 --- a/docs/guide/lxd_custom.md +++ b/docs/guide/lxd_custom.md @@ -396,16 +396,19 @@ curl ipv6.ip.sb ### 删除隧道 +服务端 + ``` -# 关闭隧道接口 -ip link set he-ipv6 down - -# 删除隧道接口 -ip tunnel del he-ipv6 - -# 关闭隧道接口 +ip link set server-ipv6 down +ip tunnel del server-ipv6 ip link set sit0 down - -# 删除隧道接口 -ip tunnel del sit0 ``` + +客户端 + +``` +ip link set user down +ip tunnel del user +ip link set sit0 down +``` +