Im trying to set up an OpenVPN by connecting my router to a VPS server running OpenVPN. By following this tutorial


I got it connected but I want to be able to access my LAN devices if I connect my phone to the OpenVPN. However when I connect my phone to the OpenVPN im not able to connect to any of my LAN devices. Any help would be appreciated! Thank you!


You need to add a directive like this to the config file. Adjust for your LAN ip range and server IP.

route add mask gw

Then restart the server.

  • Do you I need to add static routes on my router as well? – amiao Mar 11 '17 at 4:12
  • I don't know the answer to that. – Organic Marble Mar 11 '17 at 4:18
  • Do I run this command? or add that line to the conf file? 'route add mask gw' – amiao Mar 11 '17 at 4:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.