LAN Access Dashboard

MikroTik Configuration Setup

This guide walks you through configuring your MikroTik router and other devices to work seamlessly with our system. Follow the steps below to get started.

MikroTik Configuration

Follow these steps to set up your MikroTik router for optimal performance with our system.

  • Log in to your MikroTik router using Winbox or the web interface.
  • Ensure your router has internet access and is updated to the latest firmware version.
  • Verify that the API service is enabled on your router (go to IP > Services and enable the API).
  • Check your router's IP address, username, password, and port settings in the Routers section.

Generate VPNs in Network

To enable secure access for your devices, you need to generate VPNs in the Network section of the panel.

  • Navigate to Network in the panel.
  • Generate a new VPN for your MikroTik router (select the appropriate OS version: RouterOS 6 or 7).
  • Copy the VPN credentials and the provided script for your router.
  • Log in to your MikroTik router using Winbox or the web interface with your admin credentials (e.g., username: admin, password: your password). If you don’t remember your credentials, go to System > Users in MikroTik to verify or reset them.
  • Open a New Terminal in the MikroTik interface.
  • Paste the VPN script copied from the Network section into the terminal and press Enter to execute it.
  • Go to IP > Addresses in the MikroTik interface and locate the IP address starting with 20.x.x.x.
  • Add this IP address, along with your MikroTik login username and password, to the Network section in the panel.

Add the NAT Auto-Update Script

This script ensures that NAT rules are automatically updated for online PPPoE users. Copy the script below and add it to your MikroTik router. Note: After adding a new user to the panel, allow at least 5 minutes for the MikroTik router to update the NAT rules.

/system script
add name=nat-auto-update policy=read,write source={
    # --- refresh NAT rules for currently ONLINE PPP users ---
    :foreach i in=[/ppp active find] do={

        :local u  [/ppp active get $i name]
        :local ip [/ppp active get $i address]

        # look for a NAT rule that has comment nat_
        :local natId [/ip firewall nat find comment=("nat_" . $u)]

        :if ([:len $natId] > 0) do={
            :local curIp  [/ip firewall nat get $natId to-addresses]
            :local curDis [/ip firewall nat get $natId disabled]

            :if (($curIp != $ip) || ($curDis = true)) do={
                /ip firewall nat set $natId disabled=no to-addresses=$ip
            }
        }
    }
}

            

Add the NAT Auto-Update Scheduler

This scheduler runs the NAT auto-update script every 5 minutes. Copy the script below and add it to your MikroTik router.

/system scheduler
:if ([:len [/system scheduler find name=nat-auto-update]] = 0) do={
    add name=nat-auto-update interval=5m on-event="/system script run nat-auto-update" \
        policy=read,write
} else={
    set [find name=nat-auto-update] interval=5m \
        on-event="/system script run nat-auto-update" policy=read,write
}
            

After Pasting add a device in devices and then give it around 5 minutes for mikrotik to update if its a pppoe router/device:

Watch our tutorial video on setting up your MikroTik router:

Tenda Configuration

Configuring your Tenda device for remote management is simple. Follow these steps to enable remote access on port 80.

  • Log in to your Tenda device’s web interface by entering its IP address (e.g., 192.168.0.1) in your browser.
  • Navigate to Administration > Remote Management in the menu.
  • Enable the "Remote Management" option.
  • Set the port to 80 .
  • Save the settings and reboot your device if prompted.

Watch our tutorial video on configuring Tenda devices:

Ubiquiti Configuration

To configure your Ubiquiti device for remote management, you need to disable the secure web server to allow HTTP access.

  • Log in to your Ubiquiti device’s web interface (e.g., 192.168.21.1).
  • Go to Services in the menu (depending on the device model, this might be under System or Settings).
  • Locate the "Web Server" .
  • Disable the Secure Connection (HTTPS) to allow HTTP access on port 80 (this might be a checkbox labeled "Enable HTTPS" or similar).
  • Save the settings and restart the device if required.
  • Test remote access by accessing the device .Go to Devices and access from there.

Watch our tutorial video on configuring Ubiquiti devices:

Huawei Configuration

Huawei routers require specific configuration to enable remote management and ensure compatibility with our system. Follow these steps to set up your Huawei router.

  • Log in to your Huawei router’s web interface by entering its IP address (e.g., 192.168.1.1) in your browser. Default credentials are usually username: admin, password: admin (change these if prompted).
  • Navigate to System Tools > Remote Management (or Advanced > Remote Management depending on the model).
  • Enable remote management and set the port to 80 (or another port if preferred, but ensure it matches your NAT rules).
  • Specify allowed IP addresses for remote access (e.g., set to 0.0.0.0/0 for all IPs, or restrict to specific IPs for security).
  • Go to Security > Firewall and ensure that the firewall allows incoming traffic on the chosen port (e.g., port 80).
  • Configure NAT rules to forward external traffic to your router’s internal IP:
    • Go to Network > NAT or Advanced > Port Forwarding.
    • Add a new rule to forward external port 80 to your router’s internal IP (e.g., 192.168.1.1) on port 80.
    • Save and apply the settings.
  • Enable UPnP if your router supports it (optional, for easier NAT configuration): Go to Network > UPnP and enable it.
  • Save all settings and reboot the router if prompted.
  • Test remote access by accessing the router from an external network (e.g., http://[public-ip]:80).
  • For PPPoE users, ensure the PPPoE settings are correctly configured:
    • Go to Network > WAN.
    • Verify that the PPPoE username and password match the credentials used in our system.
    • Enable "Always Online" or similar to keep the connection active.

Watch our tutorial video on configuring Huawei routers:

General Knowledge for Other Devices

If your device is not a MikroTik, Tenda, Ubiquiti, Huawei, or TP-Link, follow these general guidelines to configure it for remote management and compatibility with our system.

  • Log in to your device’s web interface or management software (refer to the device’s manual for the default IP address and credentials).
  • Look for a Remote Management or Remote Access setting, often found under Administration, System, or Security settings.
  • Enable remote management and set the port to 80 (or another port if preferred, but ensure it matches your NAT rules).
  • Specify allowed IP addresses for remote access (e.g., set to 0.0.0.0/0 to allow all IPs, or restrict to specific IPs for security).
  • Configure port forwarding or NAT rules to allow external access:
    • Go to the NAT or Port Forwarding section of your device’s settings.
    • Add a rule to forward external port 80 to your device’s internal IP (e.g., 192.168.1.x) on port 80.
    • Ensure the protocol is set to TCP.
    • Save and apply the settings.
  • Check your device’s firewall settings to ensure incoming traffic on the chosen port (e.g., port 80) is allowed.
  • If your device supports UPnP, consider enabling it for easier NAT configuration (often found under Network or Advanced settings).
  • Save all settings and reboot the device if prompted.
  • For PPPoE users, ensure the PPPoE settings are correctly configured:
    • Go to the WAN or Internet settings.
    • Verify that the PPPoE username and password match the credentials used in our system.
    • Enable an "Always On" or "Connect Automatically" option to keep the connection active.
  • Best Practices:
    • Change the default admin password to a strong, unique password.
    • Regularly update your device’s firmware to ensure security and compatibility.

Watch our tutorial video on configuring other devices:

Next Steps

Now that your devices are configured, you can proceed to manage your devices or explore other sections of the dashboard.