diff --git a/src/pages/get-started/install/mikrotik.mdx b/src/pages/get-started/install/mikrotik.mdx index 976a4999..7bd5b18a 100644 --- a/src/pages/get-started/install/mikrotik.mdx +++ b/src/pages/get-started/install/mikrotik.mdx @@ -97,9 +97,9 @@ This assumes that our USB drive is mounted as `/usb1`: ### Prepare the NetBird container ```shell -/container/mounts/add name=netbird_etc src=disk1/etc dst=/etc/netbird +/container/mounts/add name=netbird_varlib src=disk1/varlib dst=/var/lib/netbird ``` -Note that we placed `/etc/netbird` on router's built-in flash. This is because we don't want someone stealing the USB drive +Note that we placed `/var/lib/netbird` on router's built-in flash. This is because we don't want someone stealing the USB drive and getting access to router's private keys. This file doesn't really change all that often so it's ok to put it there. ```shell @@ -122,7 +122,7 @@ add key=NB_ADMIN_URL name=netbird value=YOUR_NETBIRD_ADMIN_URL Create the container and trigger image pull from DockerHub: ```shell -/container/add remote-image=netbirdio/netbird interface=netbird root-dir=/usb1/netbird_filesystem mounts=netbird_etc envlist=netbird dns=10.71.71.1 hostname=netbird logging=yes │ +/container/add remote-image=netbirdio/netbird interface=netbird root-dir=/usb1/netbird_filesystem mounts=netbird_varlib envlist=netbird dns=10.71.71.1 hostname=netbird logging=yes │ ``` Note that we had to set container's hostname to something other than router's identity because RouterOS doesn't allow hostname conflicts.\ We have also set container's DNS resolver to router's DNS server. Feel free to tweak this if needed.