Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

JohnRivs's avatar

VPN tunnel from a Vapor managed server?

I manage a web app for a client on a DigitalOcean droplet. For X reasons, we have to decouple some things in this app. The idea is to have 1 droplet exposed to the internet where customers do the usual and another droplet not exposed to the internet.

Now, that second (private) droplet, needs to communicate with the outside through a VPN or some sort of tunnel. Can I have a server managed by Vapor that can stay hidden from the internet but connected to a machine on the internet using a tunnel?

Basically, this is what I'd like to do in Vapor:

0 likes
2 replies
skotamreddy's avatar

I am trying to implement the same. Did you get an answer?

Please or to participate in this conversation.