OpenVPN Connect Client cannot connect to RDS instances

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
c0delift
OpenVpn Newbie
Posts: 2
Joined: Sat Feb 03, 2018 4:18 pm

OpenVPN Connect Client cannot connect to RDS instances

Post by c0delift » Sat Feb 03, 2018 4:24 pm

Hello, I'm not sure if this is the correct place for this question, but it seems relevant. If not please direct me to the correct subforum!

I have been tasked with getting a VPN setup for my company on EC2 using the OpenVPN Access Server AMI in the AWS Marketplace. I was able to go through the setup guide, creates users and clients, have people connect to the VPN via OpenVPN Connect Client and connect to EC2 instances residing the same VPC as the VPN instance.

I however am having trouble with connecting to RDS instances when connected to the VPN via the client. The RDS instances are not publicly accessible, hence why connecting through a VPN is necessary. We had an old, decrepit VPN setup that was not documented and steup by a contractor ~2 years ago which was able to connect to the RDS instances without issue. This is sadly not documented so I could not mimic the configuration setup verbatim.

For some added context, if I ssh into the access server, I am able to connect to the RDS instances via telenet, however when connecting on my local machine via the OpenVPN Connect Client it does not connect. I've done some pretty heavy googling on this and have come across a few posts that looked helpful, though didn't end up solving the issue.

Has anyone else seen something like this? Thanks in advance for any insight!

User avatar
novaflash
OpenVPN Inc.
Posts: 1073
Joined: Fri Apr 13, 2012 8:43 pm

Re: OpenVPN Connect Client cannot connect to RDS instances

Post by novaflash » Sat Feb 03, 2018 4:31 pm

I would suggest this page as your first stop:
https://docs.openvpn.net/troubleshootin ... pn-tunnel/
I'm still alive, just posting under the openvpn_inc alias now as part of a larger group.

c0delift
OpenVpn Newbie
Posts: 2
Joined: Sat Feb 03, 2018 4:18 pm

Re: OpenVPN Connect Client cannot connect to RDS instances

Post by c0delift » Wed Feb 07, 2018 3:40 pm

I ended up figuring out the issue. Looks like a couple DBs were in a different VPC than our others. The other VPC had a different CIDR range of private IPs. I had to grant the clients access to this through the Admin Server console.

User avatar
novaflash
OpenVPN Inc.
Posts: 1073
Joined: Fri Apr 13, 2012 8:43 pm

Re: OpenVPN Connect Client cannot connect to RDS instances

Post by novaflash » Wed Feb 07, 2018 3:51 pm

Alright, glad to hear you were able to solve it.
I'm still alive, just posting under the openvpn_inc alias now as part of a larger group.

Post Reply