This tutorial will describe securing access to a private network using a Pritunl server. The diagram below shows the network topology for this tutorial.
First remove the 0.0.0.0/0 route from the server. This route tunnels all internet traffic over the vpn, for this setup only the traffic for the private network will be tunneled.
After this route is removed add a route for the private network with the network address of 10.5.0.0/24, 172.16.5.0/24 and 192.168.5.0/24- one after another.
An example route entry is given below
Once the route has been added there should be only two routes on the server. One for the vpn virtual network and the route to the private network.
The server can now be started and connected vpn clients will have access to the 10.50.0.0/24 private network.