MikroTik RouterOS 7 WireGuard Setup Guide
MikroTik RouterOS 7 has native WireGuard built-in. Configuration is done via Winbox, WebFig, or the CLI. RouterOS does not use wg-quick — NAT is configured through the RouterOS firewall engine. One MikroTik tunnel can cover your main LAN and all VLANs — add extra subnets from the ProxyLink tunnel page after setup.
Create a tunnel in ProxyLink
Go to Devices → + Add → Router / LAN site, select Home / LAN Router, enter your LAN subnet, and note the VPN IP, server public key, and endpoint from the downloaded config.
Create the WireGuard interface
In Winbox: Interfaces → WireGuard → Add (+)
- Name:
proxylink - Listen Port: any unused port (e.g.
51821) - Private Key: paste from your config
Or via CLI:
/interface wireguard add name=proxylink listen-port=51821 private-key="YOUR_PRIVATE_KEY"
Assign an IP address
/ip address add address=YOUR_VPN_IP/32 interface=proxylink
Use /32 — this is a point-to-point tunnel. Routing is handled by the peer's allowed-address and the static route below.
Add the ProxyLink server as a peer
/interface wireguard peers add \ interface=proxylink \ public-key="SERVER_PUBLIC_KEY" \ endpoint-address=46.225.153.241 \ endpoint-port=51820 \ allowed-address=10.100.0.0/16 \ persistent-keepalive=25s
Add return route for ProxyLink server
RouterOS does not automatically add an OS-level route from a peer's allowed-address for forwarded traffic. Without this, LAN device replies to the ProxyLink server (10.100.0.x) are sent out WAN and dropped:
/ip route add dst-address=10.100.0.0/16 gateway=proxylink comment="ProxyLink server return path"
Allow forwarding between interfaces
Add forward rules to allow traffic between the ProxyLink tunnel and your LAN bridge:
/ip firewall filter add \ chain=forward \ in-interface=proxylink \ out-interface=bridge \ action=accept \ place-before=0 /ip firewall filter add \ chain=forward \ connection-state=established,related \ in-interface=bridge \ out-interface=proxylink \ action=accept \ place-before=1
Add mangle rules (required if you have multiple WAN links)
If you use load-balancing or policy routing across multiple WAN links, add these mangle rules before your load-balancing marks. This ensures ProxyLink traffic always takes the correct return path:
/ip firewall mangle add \ chain=prerouting \ src-address=10.100.0.0/16 \ dst-address=192.168.1.0/24 \ action=accept \ comment="ProxyLink return path" /ip firewall mangle add \ chain=prerouting \ src-address=192.168.1.0/24 \ dst-address=10.100.0.0/16 \ action=accept \ comment="ProxyLink return path"
Repeat for each VLAN subnet you add to the tunnel.
Good to know
What you get once the tunnel is up
- Browser RDP, VNC, and SSH — open a terminal or remote desktop to any device behind the tunnel straight from the ProxyLink dashboard. No client software, no open ports on your side.
- Proxy links — share an HTTPS URL that forwards to any internal web interface (NAS, NVR cameras, PBX admin panels, router UIs) with ProxyLink login in front of it.
- No public exposure — the device keeps zero open ports and needs no static IP. The tunnel is outbound-only WireGuard to EU-hosted infrastructure. Read more about agentless remote access and NIS2 compliance.
Ready to connect?
Create a free account and set up your first tunnel in minutes. Free during early access — no card required.