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 connect droplets to a VPN
I have a droplet running strong swan VPN which I installed using this guide: https://www.digitalocean.com/community/tutorials/how-to-set-up-an-ikev2-vpn-server-with-strongswan-on-ubuntu-18-04-2. Everything works ok as I can telnet into the remote server with its private IP from the droplet running the strong swan VPN.
I have also set up the same droplet as the VPC gateway using this guide https://docs.digitalocean.com/products/networking/vpc/resources/droplet-as-gateway/
The issue I’m currently facing now is that I cannot telnet into the remote server from droplets that are in the same VPC as the VPN server. I think I would need to connect the droplets to the VPN server but I’m not sure how to go about that. Any help is appreciated.