Issue
Architecture( within SAME ACCOUNT)-
- OpenVPN is present in VPC A (10.41.0.0/16) and was configured using AWS marketplace in region ap-south-1.
- Another instance "test" is in VPC B (10.40.0.0/16) in a different region ca-central-1
- There is a VPC peering between VPC A to VPC B and vice versa
Current Situation
- I am able to ssh into OpenVPN instance and telnet to "test" at 22 is working which indicates that peering is working as expected
Problem
- When I connect to the OpenVPN server and then try to do an ssh to "test" EC2 instance in VPC B, I am getting a timeout error at port 22.
Things I have tried so far
- Check telnet at 22 from VPC A to VPC B
- Verify NACLs, Route tables, security Groups for port 22 in both the VPC ranges
I am unable to figure out the issue, If somebody has worked on this and could help me debug this issue would be really appreciable. Thanks
Solution
To facilitate your access to a specific server through OpenVPN, please follow the steps outlined below:
- Log in to the OpenVPN Access Server web console.
- Navigate to User Management > User Permissions.
- Click on "More Settings" for the relevant VPN user.
- Add the desired server IP address under Access Control.
- Save the changes.
Following these steps, you should be able to connect to the server seamlessly through OpenVPN.
Thanks.
Answered By - Jahangeer Alam Answer Checked By - Willingham (WPSolving Volunteer)