Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
How to setup OpenVPN in Bridge mode (TAP not TUN)
I have managed to setup a tun OpenVPN on DigitalOcean and it works perfectly fine, but some applications I have require direct access without having to go through several layers of NAT so I need to turn the OpenVPN server I have to Bridge mode.
I tried doing configuration manually according to guides on openvpn.net but as soon as I apply them the droplet crashes, SSH stops and I need to destroy (rebuild) the droplet.
I even tried installing the OpenVPN Access Server as it has a GUI and is easier to use. Once I changed the VPN mode from Layer 3 (NAT) to Layer 2 (Bridge) the droplet crashed and I had to rebuild it again.
I am really not sure what should be done and I am not able to find any guides online that matches DigitalOcean networking configuration.