• macos, ipsec, DrayOS 4, imported, remote_dial_in_user, pre_shared_key, vpn_setup, ikev2

IKEv2 VPN from macOS to Vigor Router (DrayOS4)

1. Make sure the router is connected to the Internet and has a public WAN IP address so that VPN clients on the Internet can reach it.

2. Go to VPN and Remote Access >> IPsec General Setup, enter a Pre-Shared Key and Confirm. Then click OK to save. This step can be ignored if the VPN user will use a specific Pre-Shared Key configured in the VPN profile.

a screenshot of DrayOS IKE General Setup

3. Go to VPN and Remote Access >> Remote Dial-in User and click on an available index,

  • Check Enable this account
  • At Allowed Dial-In Type, check "IPsec Tunnel" and "IKEv1/IKEv2"
  • At Specify Remote Node, enter "macbook" as the Peer ID
  • At IKE Authentication Method, click "IKE Pre-Shared Key" button, then enter the Pre-Shared Key.
  • Click OK to save the profile.
screenshot of IKEv2 VPN user setup