Skip to content

Commit 6ea123a

Browse files
committed
uninstall.sh: flush and delete iptables chain OVN-MASQUERADE (#2961)
1 parent 738c407 commit 6ea123a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dist/images/uninstall.sh

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ iptables -t nat -F OVN-PREROUTING
88
iptables -t nat -X OVN-PREROUTING
99
iptables -t nat -F OVN-POSTROUTING
1010
iptables -t nat -X OVN-POSTROUTING
11+
iptables -t nat -F OVN-MASQUERADE
12+
iptables -t nat -X OVN-MASQUERADE
1113
iptables -t filter -D INPUT -m set --match-set ovn40subnets dst -j ACCEPT
1214
iptables -t filter -D INPUT -m set --match-set ovn40subnets src -j ACCEPT
1315
iptables -t filter -D INPUT -m set --match-set ovn40services dst -j ACCEPT
@@ -33,6 +35,8 @@ ip6tables -t nat -F OVN-PREROUTING
3335
ip6tables -t nat -X OVN-PREROUTING
3436
ip6tables -t nat -F OVN-POSTROUTING
3537
ip6tables -t nat -X OVN-POSTROUTING
38+
ip6tables -t nat -F OVN-MASQUERADE
39+
ip6tables -t nat -X OVN-MASQUERADE
3640
ip6tables -t filter -D INPUT -m set --match-set ovn60subnets dst -j ACCEPT
3741
ip6tables -t filter -D INPUT -m set --match-set ovn60subnets src -j ACCEPT
3842
ip6tables -t filter -D INPUT -m set --match-set ovn60services dst -j ACCEPT

0 commit comments

Comments
 (0)