Report this

What is the reason for this report?

Can't connect back from network the VPN server is on to VPN connected device

Posted on August 16, 2020

Connected Tutorial(This question is a follow-up to this tutorial):

How to set up and configure an OpenVPN Server on Ubuntu

Hello, I have set it all up following the instructions, my MacBook connects to the OpenVPN server gets an IP etc and I can ping the server that is behind in the network that the OpenVPN server sits on. That is all good.

So the OpenVPN server is 10.0.0.5 and I have a Domain Controller on 10.0.0.4 and it can ping .5 no worries.



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.

Nevermind I answered my own question, but if you’re interested, you need to set the return route. In Azure I had to create a routing table object that sent all traffic destined for 10.8.0.0/8 to go to 10.0.0.5 (The Linux VM hosting the OpenVM server) and this route was the solve. Following your guide allows for clients to connect into the network but nothing in the network can connect out into the clients= connected to the VPN without a return route being created.

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.