Skip to content

How to created bidirectional communication from my AWS to remote private network using OPENVPN server which located in AWS?

0

I have servers located in AWS, including my OpenVPN access server. Additionally, I have a remote private network that is able to ping all the servers located in AWS. My problem is how to enable bidirectional communication, allowing my end users' devices to ping the servers and vice versa, so that the servers able to ping the remote private IP addresses on my end users' devices.

asked 2 years ago832 views
2 Answers
1

Network communications is (almost!) always two-way. So if host A (on premises) can ping and connect to host B (in AWS) then there is already bi-directional traffic happening. What you may be experiencing is the inability to establish connections in either direction.

If host B can't connect back to host A then there is something stopping it - this is usually in the form of packet filters, firewall rules or in many cases, Network Address Translation (NAT) that is happening in "middle boxes" such as the VPN termination point. In my experience, this is pretty common so check to make sure that NAT is disabled.

You can tell reasonably easily that this is happening: Do a debug or packet capture on host B and then ping from host A. If you don't see the original IP address of host A then you have NAT enabled somewhere and the NAT is what it stopping connections from being established in the other direction.

AWS
EXPERT
answered 2 years ago
EXPERT
reviewed 2 years ago
0

Hello.

This thread explains about achieving bi directional communication: https://forums.openvpn.net/viewtopic.php?t=21784

Also this blog post provides an overview of Access Server's routing feature to provide access to connected VPN clients.https://openvpn.net/vpn-server-resources/reach-openvpn-clients-directly-from-a-private-network/#introduction

I hope this might be helpful.

EXPERT
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.