Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 1 down vote accepted

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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