How to setup PPTP as a WAN link
Setting up PPTP as a WAN link is a little more complicated that setting up a standard WAN link. The basic steps are broken down below
- Setup carrier wan link as a PPTP carrier
- Setup PPTP wan link
- Set the default wan stream to use the PPTP as its primary link
- Setup a PPTP server only wan stream
- (Optional) Add a second wan link (not the PPTP carrier link) as failover to the PPTP link
Setup a carrier link
Typically the carrier link does not have internet access, so you can set this up as a private link as shown in the screenshot below.
Setup the PPTP link
Add the pptp link including the username, password and the server address as shown in the screenshot below.
Set the default wan stream to use the PPTP as its primary link
Set the default wan stream to use the PPTP link as its primary link. Do not add the carrier link to this stream.
Setup a PPTP server only wan stream
This part is critical, because if you use the pptp as your main wan link in your default stream. The moment it connects, all traffic that maintains the link will now be routed over the link. This will result in a loop and the link will die.
So you need to setup a stream that only selects traffic destined for the PPTP server address NB: from the Badjr. This will ensure that traffic to the PPTP server is routed over the carrier link and not use the default wan stream.
The resulting overview diagram should look as follows.
(Optional) Add a second wan link (not the PPTP carrier link) as failover to the PPTP link
If you have a failover, you can add the failover as a second wan link to the default stream. This will ensure that if the PPTP link goes down, the failover link will be used.