Skip to content

Commit e4f6826

Browse files
authored
uninstall.sh: flush and delete iptables chain OVN-MASQUERADE (#2961)
1 parent 9fbebd3 commit e4f6826

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
@@ -10,6 +10,8 @@ iptables -t nat -F OVN-POSTROUTING
1010
iptables -t nat -X OVN-POSTROUTING
1111
iptables -t nat -F OVN-NAT-POLICY
1212
iptables -t nat -X OVN-NAT-POLICY
13+
iptables -t nat -F OVN-MASQUERADE
14+
iptables -t nat -X OVN-MASQUERADE
1315
iptables -t filter -D INPUT -m set --match-set ovn40subnets dst -j ACCEPT
1416
iptables -t filter -D INPUT -m set --match-set ovn40subnets src -j ACCEPT
1517
iptables -t filter -D INPUT -m set --match-set ovn40services dst -j ACCEPT
@@ -38,6 +40,8 @@ ip6tables -t nat -F OVN-POSTROUTING
3840
ip6tables -t nat -X OVN-POSTROUTING
3941
ip6tables -t nat -F OVN-NAT-POLICY
4042
ip6tables -t nat -X OVN-NAT-POLICY
43+
ip6tables -t nat -F OVN-MASQUERADE
44+
ip6tables -t nat -X OVN-MASQUERADE
4145
ip6tables -t filter -D INPUT -m set --match-set ovn60subnets dst -j ACCEPT
4246
ip6tables -t filter -D INPUT -m set --match-set ovn60subnets src -j ACCEPT
4347
ip6tables -t filter -D INPUT -m set --match-set ovn60services dst -j ACCEPT

0 commit comments

Comments
 (0)