Report this

What is the reason for this report?

Floating IP + OpenVPN Access Server from marketplace?

Posted on July 26, 2020

I just provisioned an openvpn access server on a droplet via the marketplace. (Version 2.8.5 OS Ubuntu 18.04)

I assigned a floating IP to my droplet.

How do I tell openvpn to route all incoming and outgoing traffic via the floating ip?

I am able to ssh into my instance via the ip provided originally by DO as well as my floating IP.

However, I am able to access my admin interface via my original ip but not via my floating ip.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Heya,

Just came across this answer and decided to write some general guidelines for anyone who comes across this in the future despite the old question.

To route all incoming and outgoing traffic via the floating IP for your OpenVPN server, you would need to modify your server configuration files. Unfortunately, DigitalOcean’s floating IP is designed to remap automatically from one Droplet to another within the same datacenter, it might not work well with OpenVPN to route traffic.

However, to make your admin interface accessible via your floating IP, you might need to specify the IP address when setting up the OpenVPN to bind to a specific IP address. If you’ve installed OpenVPN Access Server from the DigitalOcean marketplace, the admin interface should be accessible on your floating IP, as well as any other IP addresses the access server is set to listen on.

Please, be aware that any changes misconfigured might break your OpenVPN setup, so proceed with caution and consider creating backups before doing any substantial changes. Here you can find a guide on how to setup OpenVPN.

For further clarification and assistance, you might need to refer to the OpenVPN official documentation or contact OpenVPN directly.

Please note, these are general suggestions and it could require an investigation to know the exact issue causing this behavior.

Hope that this helps!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.