diff --git a/patches/systemvm/debian/config/opt/cloud/bin/vpc_staticnat.sh b/patches/systemvm/debian/config/opt/cloud/bin/vpc_staticnat.sh index f25dfd8b477..d5411c8f976 100755 --- a/patches/systemvm/debian/config/opt/cloud/bin/vpc_staticnat.sh +++ b/patches/systemvm/debian/config/opt/cloud/bin/vpc_staticnat.sh @@ -49,8 +49,8 @@ static_nat() { (sudo iptables -t nat $op PREROUTING -i $ethDev -d $publicIp -j DNAT \ --to-destination $instIp &>> $OUTFILE || [ "$op" == "-D" ]) && # add mark to force the package go out through the eth the public IP is on - (sudo iptables -t mangle $op PREROUTING -s $instIp -j MARK \ - --set-mark $tableNo &> $OUTFILE || [ "$op" == "-D" ]) && + #(sudo iptables -t mangle $op PREROUTING -s $instIp -j MARK \ + # --set-mark $tableNo &> $OUTFILE || [ "$op" == "-D" ]) && (sudo iptables -t nat $op2 POSTROUTING -o $ethDev -s $instIp -j SNAT \ --to-source $publicIp &>> $OUTFILE ) result=$?