Paste an AmneziaWG .conf (1.0 through 3.0) to generate ready-to-use MikroTik RouterOS commands
Without these four steps the commands below will not run. Each one is done once.
/system/resource/print
— architecture-name must say arm64, arm or x86_64. MIPS (hEX, hEX S, hAP ac lite, hAP lite) will not do: MikroTik makes no container package for it./system/package/print
must list container. If it does not, install it one of these ways:
/system/package/update/check-for-updates /system/package/enable container /system/package/apply-changes
/system/device-mode/update container=yes fetch=yes bandwidth-test=yes scheduler=yesThen, within 5 minutes, press a button on the router (Reset or Mode) or power it off and on: that is how RouterOS makes sure you are next to it. Check:
/system/device-mode/print shows yes everywhere.All configuration and data is processed locally in your browser. Nothing is transmitted anywhere. Your private keys are safe.
36nc17781681630<prefix>-update script at 04:30. The script compares the published release with the installed one and only calls /container/repull when the version actually changed — a pull restarts the container and the tunnel is down for about ten seconds. Needs RouterOS 7.22+ and an install from the registry; the script itself is always created, so you can update by hand with /system/script/run <prefix>-update.:resolve type=ipv6 and lowers the MTU if it answers./ip/dns address-list-extra-time. Services behind Cloudflare and other CDNs hand out very short TTLs, so an address can drop out of the list while the browser is still using it and the connection leaves the tunnel. This is a router-wide DNS setting, not a per-list one: it is only applied if the router still has the default 0s, and the uninstall script only resets it if it is still exactly the value set here.