- DrayOS 4, imported, remote_access_control, ipsec_vpn, vpn_load_balance, vpn_trunk, connection_management, gre_over_ipsec
Add a Load Balance VPN Connection (DrayOS4)
Before setting up the tunnel, please make sure PPTP and IPsec service is enabled in VPN and Remote Access >> Remote Access Control.
1. On the VPN server (Dial-In Site), create an IPsec VPN profile. In GRE Settings, check "Enable IPsec Dial-Out function GRE over IPsec" and enter an IP address for My GRE IP and Peer GRE IP.
2. On the VPN server, create another IPsec VPN profile with almost the same configuration, except for the My GRE IP and Peer GRE IP should be different.
3. On VPN Client (Dial-Out Site), create an IPsec VPN profile. In GRE Settings, check "Enable IPsec Dial-Out function GRE over IPsec" and enter the VPN Server's "Peer GRE IP" of the first profile Client's My GRE IP, Server's "My GRE IP" at Client's Peer GRE IP.
4. Similarly, create another IPsec VPN profile with almost the same configuration, except that My GRE IP should be the "Peer GRE IP" of the Server's second profile, and Peer GRE IP should be the "My GRE IP" of the same profile.
5. After creating 4 IPsec VPN Profile, on the VPN Client, go to VPN and Remote Access >> VPN TRUNK Management >> General Setup.
- Give a profile name and enable it
- Select the VPN profiles created for VPN load balance as Member1 and Member2
- Select Load Balance as Active Mode and click Add
- The VPN Trunk settings on VPN client
Now, we can check the VPN status after VPN trunk is established successfully on VPN and Remote Access >> Connection Management page, and we should see both the VPN are up and have traffic.
Note: The VPN load balance algorithm is round robin by default. Detailed load balance policy, such as weight, source IP, destination IP or destination ports, can be configured by clicking Advanced in VPN TRUNK Management >> Load Balance Profile List.

