Question

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

Posted August 16, 2020 350 views
VPNUbuntu 20.04

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.

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.

×
1 answer

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.

  • Hi @harryDazzler thanks for taking the time to follow up and post this answer. It sounds like your VPN configuration is a bit more advanced than the one in this tutorial, with a VPN Gateway, VM Server, and Client. This is a very helpful answer!

Submit an Answer