connect to aws ec2 instance via public ip

0 votes
I have an EC2 instance with an Elastic IP address. Let's say its public IP is 3.4.5.6 and its private IP is 172.30.31.32. I can connect to my Client VPN Endpoint and get to the 172 address, and from the public Internet, I can get to the 3.x.x.x address (but I need to close this avenue). So, what I want is to be able to get to the 3.x.x.x address when I'm connected to the VPN. I have an app that requires the server name and IP address to be hard coded and it's a pain to reconfigure. From the office, the 3.x.x.x network is available through an ingress rule, so I don't want the added expense of a site-to-site VPN. I tried adding a route to the 3.x.x.x address in my Client VPN Endpoint, and the route appears in my PC's route table when I connect to the VPN, but I sill can't get there. Is there some setting or additional AWS feature I need to add to make this work?
Apr 7, 2020 in AWS by rossboulet
• 120 points
1,932 views
Your problem is "I want to be able to get to the 3.x.x.x address when I'm connected to the VPN", right?

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In AWS

0 votes
1 answer

EC2 instance unable to connect to internet - aws

The security group attached to the instance’s ...READ MORE

answered Oct 9, 2019 in AWS by Neel
1,178 views
+2 votes
3 answers

Is it possible to ping AWS EC2 instance

1.Go to EC2 Dashboard and click "Running ...READ MORE

answered Nov 13, 2020 in AWS by shivam
• 140 points

edited Nov 13, 2020 by Gitika 20,529 views
0 votes
1 answer
0 votes
1 answer

How to set up a SPF(Sender Policy Framework) for AWS EC2 instance?

Setting up a SPF record is pretty ...READ MORE

answered Aug 16, 2018 in AWS by Archana
• 4,170 points
1,644 views
+1 vote
1 answer

Can we use AWS Public DNS as Domian name to enable https on our instance

I don't believe you can get a ...READ MORE

answered Aug 23, 2018 in AWS by Priyaj
• 58,020 points
969 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP