AWS VPN NATing basic

0 votes

I have a VPN connection to AWS and need to access my EC2 instance at, say,    I already have a subnet locally for 10.1.0.x/24. How can I NAT the address in AWS so that when it receives data through this VPN, it maps, say to

I can't seem to find the any suitable solution on AWS. NAT instances and NAT gateways all talk about accessing the Internet from a private server and seem to have little to do with this simple address translation from a VPN connection.

Better ideas?

Jul 18, 2018 in AWS by Archana
• 4,150 points

1 answer to this question.

0 votes

You cannot solve the problem of CIDR overlap when setting up a VPN connection by using AWS NAT Gateway. For this to work either

  • NATing should happen from On-Premise.
  • Create a new private subnet to represent EC2 instance in your VPC side.
  • You can adopt to Third-party VPN solution hosting on an EC2 instance, instead of using VPC native VPN to support your use case.
answered Jul 20, 2018 by datageek
• 2,530 points

Related Questions In AWS

+3 votes
2 answers

AWS VPN architecture diagram creation.

Yes you can go ahead and use ...READ MORE

answered Jul 13, 2018 in AWS by Priyaj
• 58,140 points
0 votes
1 answer
+3 votes
1 answer

aws cloudformation for atomic stack-update

When you perform a stack update, only ...READ MORE

answered Mar 27, 2018 in AWS by DareDev
• 6,890 points
+3 votes
4 answers

How to host a website on AWS?

Certainly, it can be used to do ...READ MORE

answered Mar 30, 2018 in AWS by brat_1
• 7,200 points
+3 votes
3 answers

Terraform AWS Cognito App Client

This feature is not currently supported by ...READ MORE

answered Aug 28, 2018 in AWS by eatcodesleeprepeat
• 4,790 points
+3 votes
4 answers
+2 votes
3 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,810 points
0 votes
1 answer

How to link AWS Lambda function to Amazon CloudWatch ?

In order to create Log Group and ...READ MORE

answered Jul 20, 2018 in AWS by datageek
• 2,530 points
+1 vote
2 answers

AWS Lambda Function Issues

If you have created AWS Lambda Deployment JAR ...READ MORE

answered Sep 14, 2018 in AWS by datageek
• 2,530 points