Report this

What is the reason for this report?

1 droplets with web app, 2 office building, some phones and VPN?

Posted on April 24, 2015

Hi all, I have 1 droplets which is running an web application. I have 2 office building with out IP is not static. I have some phones (android) use 3G.

And now, I want to config that only allows the pc inside that 2 office connect to that droplets web app. beside, need to allows some specific phones to connect to that droplets web app too.

How can I do that? build a VPN? is there some links to learn how to do that?

thx



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.

Yes. Setting up a VPN would be the best solution for this. This tutorial will walk you through setting up an OpenVPN server your clients can connect to. Once your clients are connecting via the VPN server you can simply restrict your web service to the VPN server’s IP.

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.