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 in AWS by rossboulet
• 120 points
170 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
116 views
+2 votes
2 answers

Is it possible to ping AWS EC2 instance

Start by adding a new EC2 security group inbound ...READ MORE

answered Apr 9, 2018 in AWS by hemant
• 5,760 points
1,195 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,150 points
449 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
• 57,530 points
86 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer