summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
Diffstat (limited to 'ci')
-rwxr-xr-xci/deploy/deploy.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/ci/deploy/deploy.sh b/ci/deploy/deploy.sh
index 3118d083..050219bf 100755
--- a/ci/deploy/deploy.sh
+++ b/ci/deploy/deploy.sh
@@ -369,6 +369,12 @@ fi
echo "====== post deploy ======"
ssh $SSH_PARAS $DAISY_IP "bash $REMOTE_SPACE/deploy/post.sh -n $NETWORK"
+echo "====== disable iptable rules ======"
+sudo iptables -D FORWARD -o daisy1 -j REJECT --reject-with icmp-port-unreachable
+sudo iptables -D FORWARD -i daisy1 -j REJECT --reject-with icmp-port-unreachable
+sudo iptables -D FORWARD -o daisy2 -j REJECT --reject-with icmp-port-unreachable
+sudo iptables -D FORWARD -i daisy2 -j REJECT --reject-with icmp-port-unreachable
+
echo "====== deploy successfully ======"
exit 0