From 6ea123a7b1ec862a19def20a3964838c5d050ae3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=A5=96=E5=BB=BA?= Date: Mon, 19 Jun 2023 17:52:37 +0800 Subject: [PATCH] uninstall.sh: flush and delete iptables chain OVN-MASQUERADE (#2961) --- dist/images/uninstall.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dist/images/uninstall.sh b/dist/images/uninstall.sh index fb5784c2386..e2562de3d0b 100644 --- a/dist/images/uninstall.sh +++ b/dist/images/uninstall.sh @@ -8,6 +8,8 @@ iptables -t nat -F OVN-PREROUTING iptables -t nat -X OVN-PREROUTING iptables -t nat -F OVN-POSTROUTING iptables -t nat -X OVN-POSTROUTING +iptables -t nat -F OVN-MASQUERADE +iptables -t nat -X OVN-MASQUERADE iptables -t filter -D INPUT -m set --match-set ovn40subnets dst -j ACCEPT iptables -t filter -D INPUT -m set --match-set ovn40subnets src -j ACCEPT iptables -t filter -D INPUT -m set --match-set ovn40services dst -j ACCEPT @@ -33,6 +35,8 @@ ip6tables -t nat -F OVN-PREROUTING ip6tables -t nat -X OVN-PREROUTING ip6tables -t nat -F OVN-POSTROUTING ip6tables -t nat -X OVN-POSTROUTING +ip6tables -t nat -F OVN-MASQUERADE +ip6tables -t nat -X OVN-MASQUERADE ip6tables -t filter -D INPUT -m set --match-set ovn60subnets dst -j ACCEPT ip6tables -t filter -D INPUT -m set --match-set ovn60subnets src -j ACCEPT ip6tables -t filter -D INPUT -m set --match-set ovn60services dst -j ACCEPT