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 authored Jun 19, 2023
1 parent 9fbebd3 commit e4f6826
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dist/images/uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ iptables -t nat -F OVN-POSTROUTING
iptables -t nat -X OVN-POSTROUTING
iptables -t nat -F OVN-NAT-POLICY
iptables -t nat -X OVN-NAT-POLICY
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 Down Expand Up @@ -38,6 +40,8 @@ ip6tables -t nat -F OVN-POSTROUTING
ip6tables -t nat -X OVN-POSTROUTING
ip6tables -t nat -F OVN-NAT-POLICY
ip6tables -t nat -X OVN-NAT-POLICY
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 e4f6826

Please sign in to comment.