I have created a OpenSearch cluster in AWS VPC with fine grained access. To login to OpenSearch Dashboard URL I created a bastion host(EC2) in public subnet of the same VPC. I have added security group to EC2 which has outbound rule to access security group of OpenSearch Cluster. I have also added another security group in EC2 to have inbound HTTPS rule for port 443.
Using Putty I configured SSH tunneling from EC2 to OpenSearch Tunneling from source port 9200 to 443. However when I logged in to https://localhost:9200/_dashboards, the page timeout. I tried curl OpenSearch-domain-URL and I get "Authentication finally failed" error. Please suggest if I'm missing anything here.
Thanks!