How to set up WireGuard VPN on MERCUSYS wireless router

이 문서는 이하 이슈에 적용됩니다.:

WireGuard VPN Server is used to create a Wire Guard VPN connection for remote devices to access your home network.

 

Step 1. Set up WireGuard VPN Server on Your Router

1. Visit http://mwlogin.net and log in with your Mercusys ID or the password you set for the router.

2. Go to Advanced > VPN Server > WireGuard, and enable WireGuard.

The WireGuard settings and the WireGuard switch.

3. Set the Tunnel IP Address and Listen Port. Do NOT change it unless necessary.

4. Select your Client Access type. Select Home Network Only if you only want the remote device to access your home network; select Internet and Home Network if you also want the remote device to access the Internet through the VPN Server.

5. (Optional) Click Advanced Settings to display more settings. If DNS is turned on, the router will become the DNS server of the VPN client that establishes a connection with it. Change the Persistent Keepalive time (25 seconds by default) to send out heartbeat regularly; you can also click RENEW KEY to update the private key and public key.

 

Step 2. Create accounts that can be used by remote clients to connect to the VPN server.

1. Locate the Account List section. Click Add to create an account.

The options of username, address, allowed IPs (client), allowed IPs (server) and pre-shared key (secret), and the buttons of cancel and save.

2. Give a Username to this account.

3. View the Address of the virtual interface assigned to this account. Do NOT change it unless necessary.

4. Traffic sent from the WireGard VPN client to the allowed IPs (client) will be transmitted through the tunnel. By default, all network traffic from clients will be transmitted through the tunnel. Do NOT change it unless necessary.

5. Traffic sent from the WireGard VPN server to the allowed IPs (server) will be transmitted through the tunnel. Do NOT change it unless necessary.

6. Enable or disable the Pre-shared Key.

7. Click SAVE. Note: One account can only be used by one WireGuard VPN client at the same time to connect to the WireGuard VPN server.

The QR code and the export option.

8. Connect to the WireGuard server.

• For mobile phones, download the WireGuard App from Google Play or Apple Store, then use the App to scan the QR Code to connect to this server.

• For other devices (e.g., Mercusys WireGuard VPN client), click EXPORT to save the WireGuard VPN configuration file, which will be used by the remote device to access your router.

The export button and the done button.

9. On the account list, you can click the button to modify the VPN server settings, connect to the server, or delete the account.

The account the account list and the username.