Advanced Device Configuration > Address Configuration for Connected Devices > Example 3: Virtual Network With Two Private Subnets and VPN Configuration > PPTP VPN Configuration for Example 3

PPTP VPN Configuration for Example 3
After the private subnets, device, and user account configuration in Virtual Network and Device Configuration for Example 3 is completed, a VPN connection profile must be defined to create a VPN tunnel to the virtual network.
The steps used for enabling a PPTP VPN connection to the virtual network are the same as in PPTP VPN Configuration for Example 2, except that, after creating the PPTP VPN tunnel, the user must create the static route differently to access the virtual network.
This first set of bullets are a review of the steps for obtaining the PPTP address assigned to the OnBoard:
Enter the ifconfig or ipconfig command on the command line of the user’s workstation to discover the IP address assigned to the OnBoard’s end of the PPTP VPN tunnel.
Enter the OnBoard’s PPTP-assigned address either in a browser or with ssh on the command line to access the OnBoard. In this example the address is 192.168.2.1.
The next bulleted items shows how to create an appropriate route to the virtual network.
Create a static route to inform the workstation that the devices to be contacted are at the other end of the point-to-point link.
In this example, to communicate with “sp1,” “sp2,” and “sp3,” a route would needed to the virtual network whose IP address is 172.20.0.0 as shown below:
To communicate with “sp4”, because it cannot be contacted through a virtual network IP address, the same route mentioned in PPTP VPN Configuration for Example 2 would be needed to “sub2,” which has the network IP address 192.168.4.1 as shown below:
Enabling native IP and accessing the device’s native features is the same as described under Enabling Native IP and Accessing a Device’s Native Features Using Real IP Addresses for Example 2.

Advanced Device Configuration > Address Configuration for Connected Devices > Example 3: Virtual Network With Two Private Subnets and VPN Configuration > PPTP VPN Configuration for Example 3