• DrayOS 5, imported, site_to_site_vpn, pre_shared_key, vpn_setup, ipsec_vpn, aggressive_mode, ikev1

IPsec Tunnel Aggresive Mode between DrayTek Routers (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 Aggressive Mode.
  • Enable Specify VPN Peer.
  • Enter the Pre-Shared Key for this profile.
  • Enter the Peer ID of the remote VPN 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 Aggressive Mode for Negotiation.
  • Enter the Pre-Shared Key configured in the dial-in profile on the VPN server.
  • Enter the Local ID.
  • (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.