Skip to content

Commit

Permalink
uninstall.sh: flush and delete iptables chain OVN-MASQUERADE (#2961)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzujian committed Jun 19, 2023
1 parent 738c407 commit 6ea123a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dist/images/uninstall.sh
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 6ea123a

Please sign in to comment.