• macos, DrayOS 4, imported, remote_dial_in_user, ikev2_vpn, certificate_management, eap_authentication, ipsec_setup

IKEv2 VPN with EAP Authentication from macOS to Vigor Router (DrayOS4)

1. Go to Certificate Management >> Trust CA Certificate, and click Create.

a screenshot of creating rootCA on DrayOS

2. Enter certificate information, select "2048 Bit" for Key Size. Then click Generate.

a screenshot of rootCA info on DrayOS

3. Click Export to download the RootCA

a screenshot of exporting rootCA from DrayOS

4. Go to Certificate Management >> Local Certificate, and click Generate.

  • Select "Domain Name" for Subject Alternative Name Type
  • Enter router's domain for Domain name and Common Name(CN)
  • Fill out the all the other information for the certificate   
  • Select "2048 Bit" for Key Size
  • Click Generate
a screenshot of creating local certificate on DrayOS

5. Click Sign for the certificate created.

a screenshot of signing local certificate on DrayOS

6. Specify the valid date then click Sign

a screenshot of self-signing certificate on DrayOS

7. Go to VPN and Remote Access >> IPsec General Setup select the local certificate created in the previous steps for Certificate for Dial-in

a screenshot of IPsec certificate setting on DrayOS

8. Go to VPN and Remote Access >> Remote Dial-in User, click an available index number and edit the profile as follows.

  • Check IKEv2 EAP at Allowed Dial-In Type
  • Give Username and Password
  • Click OK to save.
a screenshot of VPN setting on DrayOS