- product_router, task_configuration, os_drayos5, tech_ipsec, tech_site_to_site, tech_vpn
IPsec Tunnel Main Mode between DrayTek Routers (Client with Static IP) (DrayOS5)
VPN Server Setup
1. Go to the VPN / General Setup / IPsec menu page.
- Enable the IPsec Service.
Then Click Apply to save the settings.
2. Go VPN / Site-to-Site VPN.
- Click +Add to create a profile.
- Enter a profile name and check enabled the profile.
General
- Select Dial-In in Direction.
- Select IPsec as the VPN Type.
- Check IKEv1/v2.
IKE Authentication
- Choose Main Mode.
- Enable Specify VPN Peer.
- Enter the IP address of the peer VPN Client in Remote IP.
- Enter the Pre-Shared Key for this client.
- (Optional)Specify the encryption and the security protocol for IKE Phase1 and Phase2 in More settings.
Network
- Enter the Local Network of the VPN server and the Remote Network of the VPN client.
Click Apply to save.
VPN Client Setup
1. Go to VPN / General Setup / IPsec.
- Enable IPsec Service.
Click Apply to save the settings.
2. Go VPN / Site-to-Site VPN.
- Click +Add to create a profile.
- Enter a profile name and check enabled the profile.
General
- Select Dial-Out for the Direction.
- Select IPsec as the VPN Type.
- Select IKEv1 as IPsec Dial-Out Protocol.
- Enter the remote server address or domain name.
- Specify a Dial-Out Mode. Here, we choose Always On.
IKE Authentication
- Choose Main Mode.
- Choose Pre-Shared Key for Authentication.
- Enter the Pre-Shared Key configured in the dial-in profile on the VPN server.
- (Optional)Specify the encryption and the security protocol for IKE Phase1 and Phase2 in More settings.
Network
- Enter the Local Network of the VPN client and the Remote Network of the VPN server.
Click Apply to save.
After completing the configuration, the VPN Client will automatically dial up the IPsec tunnel. We can check the VPN status in VPN / VPN Connection Status.
