RouterOS manual

/interface/wireguard/wg-import

wg-import

RouterOS command reference for /interface/wireguard/wg-import.


interface/wireguard/wg-import

Type: Command

<ArgTableRow arg="config-file" typ="file">Path to the file containing the WireGuard configuration to import.</ArgTableRow> <ArgTableRow arg="config-string" typ="string">WireGuard configuration string to import directly. Available from RouterOS version 7.19.</ArgTableRow>

Source

Looking for how the configurator itself works? Configurator manual

Updated 2026-11-01.