'Use AWS EC2 instance as ethernet bridge with OpenVPN
I would like to use openvpn to assign clients an ip, dynamically, in the same private subnet(s) as my EC2 instances, using openvpn installed on an Ec2 instance in the same subnet(s).
I believe ethernet bridging mode is the way to do this, but I could be wrong. My question is: can this even be done? Or do I need to use a paid solution like Openvpn Access Server, or AWS's VPN Client?
https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/split-tunnel-vpn.html https://aws.amazon.com/blogs/awsmarketplace/setting-up-openvpn-access-server-in-amazon-vpc/
Here is post suggesting that an instance cannot be used as a bridge: How to setup a bridge as an AWS EC2 instance
and another that I interpret to mean that it can't be done, and that to bridge the Ec2 virtual network with a physical device requires that you use an AWS VPN endpoint of some sort. https://serverfault.com/questions/678291/amazon-ec2-openvpn-server-wont-route-bridged-packets-from-client-to-vpc-subnet
but I would like more input and ideas on how to test this.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
