I have setup an Amazon Public+Private subnet VPC. There are two instances in public subnet:

  • Amazon Nat instance
  • OpenVPN Access Server

I am able to setup VPN to the internal private subnet ( through ( network. But i am unable to access internet from private subnet (

Though, the routing is configured properly as it should be.

The Gateway to access internet is set to the OpenVPN Access server, but internet access is not going beyond that server.

Do i have to enable NAT in iptables on OpenVPN server?

1 Answer 1


Never mind. It was a routing table that was not configured properly and subnet was not associated with routing table properly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.