I have launched a network connector on AWS through the OpenVPN Cloud panel and I'm not been able to access to my RDS resources with the VPN.
Checklist I've made:
- Add the OVPN subnet (100.96.1.32/28) to the route table attached to the subnet
- Disable source destination checking in the EC2 instance
- Add inbound rule to my RDS security group to allow all traffic incoming from the security group attached to the EC2 instance created by the connector
- EC2 and RDS belongs to same VPC and the same subnet
When I created my OpenVPN cloud account, first, to test the service, I launch an aws connector to a testing AWS account and it worked. I was able to connect only to my RDS instance using the VPN. Then I deleted the network and connector from the OVPN dashboard and I created a new one to connect to my real AWS account. Here is where I can make it work. The only real difference between my testing and real aws accounts are the db engines. In my testing account, I tested it with a MySQL db, in real account, my RDS instances are PGSQL. Since I didn't have to specify any port in my test, I think this is not the issue.
I would like to know if you can help me to figure out what's missing in my setup.