Question

Setting up OpenVPN Client on app

I’m trying to connect my app to a OpenVPN network as a client. The configuration is all good (it’s working on other devices) but I can’t seem to reach the network. I can not use a simple ping to google.se either. There seems to be limited network tools to troubleshoot this. Are apps limited in what’s doable in network terms? Is it possible to convert the app do a droplet that (hopefully) will let me run an OpenVPN client?


Submit an answer


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!

Sign In or Sign Up to Answer

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.

alexdo
Site Moderator
Site Moderator badge
April 3, 2023

Hello @anderscoral

If you switch to a droplet you will have more control of tweaking the configuration and also use the droplet for other purpose if this is ever needed as well.

You can manually create a droplet or if you want to use a ready to go image you can spin up a OpenVPN droplet from our marketplace as already mentioned.

Hope that this helps!

Considering the app platform storage is ephemeral, I’m not sure how you intend to install the openvpn client. All changes are cleared on each deployment.

https://www.digitalocean.com/community/questions/how-to-install-software-on-app-platform-outside-of-deploying-an-app-like-installing-redis

Bobby Iliev
Site Moderator
Site Moderator badge
April 3, 2023

Hi there,

Indeed, I believe that it would be best to use a Droplet for this.

You could use the 1-Click OpenVPN installation from the Marketplace to spin up a new OpenVPN Droplet:

https://marketplace.digitalocean.com/apps/openvpn-access-server

In case that you have other applications that you would like to transfer from your App Platform to a Droplet, feel free to share more details about those applications and I could advise you furhter!

Best,

Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up