AWG Proxy — MikroTik Offline Command Generator

Paste your AmneziaWG .conf file contents to generate ready-to-use MikroTik RouterOS commands

AmneziaWG Configuration File

All configuration and data is processed locally in your browser. Nothing is transmitted anywhere. Your private keys are safe.

WireGuard client on MikroTik + awg-proxy runs inside a Docker container directly on the router
Routes traffic to selected services through the tunnel using DNS forwarding (DoH).
FastTrack rules will be modified (out-interface-list=WAN) to keep FastTrack active for non-VPN traffic. Uninstall script restores them.
All services will use this DNS-over-HTTPS (DoH) provider for domain resolution.
Monitors tunnel availability by pinging 8.8.8.8 through the WG interface (via a pinned probe route). If the tunnel is down, disables its route — traffic falls back to the next tunnel (by distance) or goes direct. Re-enables the route when the tunnel recovers.
Adds AWG_NO_DF=1 to the container ENV: the proxy clears the Don’t Fragment bit on its UDP packets. Some DPI equipment passes DF=0 UDP better than DF=1. Enable only if the tunnel has connectivity issues — with DF=0 large packets may be fragmented along the path.
Change the prefix only if you need 2+ tunnels with different routing rules
Parsed parameters
MikroTik RouterOS Commands

        
    
Uninstall Commands

        
    
Side A (MikroTik 1) — client

            
Uninstall Side A (client)

            
Side B (MikroTik 2) — server

            
Uninstall Side B (server)