I have a VPS A (kvm with Ubuntu 18.04) with VPN server

VPN server All the vpn clients can ping each others

And other VPS B (kvm with Ubuntu 18.04) with vpn server and vpn client from the first above

VPN server VPN client

My PC is a VPN client from the VPS B:

vpn client

What I need to do on the VPS B in order to allow my pc to access to the subnet of the first VPS


You will need to set up the corresponding routes.

So all your machines need to know that the router of is your OpenVPN server for and all your need to know that your router is the OpenVPN server for that subnet.

This can be done to change your OpenVPN server configuration: https://openvpn.net/community-resources/setting-up-routing/

  • 1
    "the problem" is that on the vps A I have vpn server with Pritunl, and with this openvpn web gui Pritunl I don't know how to do it... – plopes Jun 18 '19 at 10:37
  • As far as I know, you can also add the routing information in the client configuration - does Pritunl work with .ovpn files? – marfrit Jun 18 '19 at 19:06
  • VPS A it's connected to VPS B with openvpn (pritunl) and VPS B it's connected with my PC with wireguard. – plopes Jun 19 '19 at 13:29

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.