This article demonstrates how to set up the Vigor router as a VPN gateway for Remote Dial-in IKEv2 VPN connections, especially from macOS. We will show the necessary configuration of the router and the IKEv2 VPN setup on macOS as well.
Setup on Vigor Router
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.
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"
- Click OK to save the profile.
- 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.
- Go to VPN / General Setup / IPsec page to enable IPsec service as follows:
- Enable IPsec service.
- Click Apply to save the profile.
- Go to VPN / Teleworker VPN to create Teleworker VPN profile as follows:
- Enter Username in Account tab.
- Go to Teleworker VPN tab and select Enable.
-
Enable IPsec in Allowed VPN Protocols and select IKEv1/v2 in Allowed IPsec Protocols.
- Enable Specify VPN Peer and enter peer’s IP address in the Remote Client IP.
- Enter unique Pre-Shared Key for VPN peer.
- Select the LAN subnet assigned to the user.
- Click Apply to save the profile.
IKEv2 VPN Setup On macOS
- Go to System Preferences >> Network and click '+'
- Select VPN for Interface.
- Select IKEv2 for VPN Type.
- Give a Service Name and click Create.
-
Type the WAN IP or hostname of the router at both Server Address and Remote ID.
- Click Authentication Settings, in the pop-up window:
- Select "None" for Authentication Settings.
- Type the Pre-shared key configured in the VPN profile for Shared Secret.
- Click OK to save and close the window.
- Click Apply. Then, click Connect to establish the IKEv2 VPN to Vigor Router.
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, type Pre-Shared Key. Then, click Apply to save.
3. Go to VPN and Remote Access >> VPN Profiles to add a profile as follows:
- Check Enable
- Select "Enable" for Remote Dial-in User
- Type the LAN network you want the remote host to join at Local IP/Subnet Mask
- Select "IKEv2" for IKE Protocol
- Select "PSK" for Auth Type
- Click Apply to save the profile
IKEv2 VPN Setup On macOS
1. Go to System Preferences >> Network and click '+'
- Select VPN for Interface
- Select IKEv2 for VPN Type
- Give a Service Name and click Create
2. Type the WAN IP or hostname of the router at both Server Address and Remote ID.
3. Click Authentication Settings, in the pop-up window,
- Select "None" for Authentication Settings
- Type the Pre-shared key configured on the router for Shared Secret
- Click OK to save and close the window.
4. Click Apply. Then, click Connect to establish the IKEv2 VPN to Vigor Router.