skip to Main Content

Manual cleanup of a MikroTik configured for RWB

If a MikroTik is not connected to the RemoteWinBox services when you delete it from our dashboard, or if you’ve accidentally copy + pasted the same configuration on multiple MikroTiks, RWB will not behave as expected and you’ll want to manually clean up the configuration. Here’s the steps to remove RWB manually:

NOTE: If the MikroTik is online and green in the dashboard, hitting the delete button performs the following cleanup automatically!

To manually remove RWB from a Tik:

  1. Remove the INTERFACE — SSTP-CLIENT with the RWB comment
    • /interface sstp-client remove [find where profile=”RWB_sstp_profile”]
  2. Remove the PPP — PROFILE for RWB
    • /ppp profile remove [find where name=”RWB_sstp_profile”]
  3. Remove the SYSTEM — USER with the RWB comment
    • /user remove [find where comment=”Remote Winbox user”]
  4. Remove the IP — FIREWALL — FILTER with the RWB comment – it will be near the top of the rules
    • /ip firewall filter remove [find where comment=”Allow Remote Winbox”]
  5. Paste your new RWB configuration (you may see an error on duplicate PPP PROFILE, but that can be safely ignored)

Additionally, if the MikroTik connected to our system successfully, there’s probably one more item:

  1. Remove the IP RESOLVING script and schedule
    • /system scheduler remove [find where name=RWB_IP_RESOLVER]
    • /system script remove [find where name=RWB_IP_RESOLVER]
  2. If you’ve used LOGIN MANAGER, shut off RADIUS login:
    • /radius remove [find where service=login]
      • *note – use care if you have other RADIUS login directives
    • /user aaa set use-radius=no
      • *note – same as above, use care if you have other RADIUS login directives
    • /ip kid-control device remove [find]
    • /ip kid-control remove [find]
Back To Top