How Can We Help?

Setting up WireGuard® VPNUK on MikroTik Routers

WireGuard® configuration download

Please login using the VPN login username and password from the vpn account you would like to configure.
Click Here to download your WireGuard® configuration file, which is compatible with all devices.

IMPORTANT NOTES: A WireGuard® connection is currently only compatible with our Dedicated IP accounts. Each configuration file is generated automatically, twice per hour, the process can take up to 20 minutes to complete, it can therefore sometimes take up to 1 hour for a new configuration file to be created on new accounts. If you are a new user please allow the system time to generate your configuration file.

1: Open your configuration file.

  1. Click Here to download the WireGuard configuration file (.conf).
  2. Open the .conf file in Notepad or a text editor and take note of the following details:
    • Private Key
    • Public Key
    • Allowed IPs
    • Endpoint (VPNUK Server Address)
    • Port

2. Enable WireGuard on MikroTik Router

  1. Log in to your MikroTik router via WinBox or SSH.
  2. Navigate to Interfaces.
  3. Click Add (+) > WireGuard.
  4. Enter the following details:
    • Name: wg-vpn
    • Listen Port: 59851
    • Private Key: (Paste your Private Key from the WireGuard .conf file)
  5. Click OK.

3. Add Peer (VPNUK Server)

  1. Go to Interfaces > WireGuard.
  2. Click Peers > Add (+).
  3. Enter the following details:
    • Interface: wg-vpn
    • Public Key: (Paste the Public Key from your .conf file)
    • Allowed Address: 0.0.0.0/0
    • Endpoint: (Enter the VPNUK server address from your .conf file)
    • Port: 59851
  4. Click OK.

4. Configure IP Address for WireGuard Interface

  1. Go to IP > Addresses.
  2. Click Add (+).
  3. Enter the following:
    1. Address: (Use the Address provided in your WireGuard .conf file)
    2. Interface: wg-vpn
  4. Click OK.

5. Configure IP Address for WireGuard Interface

  • Go to IP > Routes.
  • Click Add (+).
  • Enter the following:
    • Dst. Address: 0.0.0.0/0
    • Gateway: wg-vpn
  • Click OK.

6. Configure Firewall & NAT Rules

  • Go to IP > Firewall > NAT.
  • Click Add (+) and enter the following:
    • Chain: srcnat
    • Out Interface: wg-vpn
    • Action: masquerade
  • Click OK.

7. Connect & Verify VPN Status

  1. Go to Interfaces and ensure wg-vpn is running.
  2. Go to Log to check the WireGuard handshake.
  3. To confirm the connection, check your new IP address by visiting: https://www.ipaddress.com/
    Your IP should now match your unique VPNUK IP.