Fix the inbound rule of security group.