← All posts

Router and Firewall Config Change History for MSPs, Without Opening SSH

Nightly SSH snapshots and diffs of MikroTik, Cisco, pfSense, OPNsense and OpenWrt configs at every client site, with secrets redacted and no open ports.

Someone changed a firewall rule at a client site last Tuesday. Now the VoIP phones drop calls, the client is on the phone, and nobody on your team remembers touching that router. You need a written answer to one question fast: what changed, and when?

That needs config change tracking: a dated copy of every router, firewall and switch configuration, taken automatically, and a diff between any two copies. Most MSPs mean to set it up and never quite do. The usual reason is reach. A nightly job needs SSH to every device, and the devices sit behind NAT, CGNAT or a firewall you do not want to open.

Why most MSPs have no config history

Classic config backup tools work well inside one network. An MSP has fifty networks. To reach a router's SSH port from a central server you either open port 22 to the internet (no), keep a site-to-site VPN per client (fragile, and it breaks the day a client's subnet overlaps another client's), or leave a box at every site.

So the config lives only on the device, and the only record of last week's version is whatever an engineer remembers.

How ProxyLink does it: SSH through the tunnel you already have

ProxyLink puts one outbound WireGuard tunnel on the client's router and reaches the LAN through it, with no public IP and no open ports. Every device with an SSH link behind that tunnel can get Config history: click History on the device row, pick the device type, enter a login, and choose Every night or Once a week. Run now takes the first snapshot straight away.

The form comes pre-filled with the right export command for the platform:

  • MikroTik RouterOS: /export hide-sensitive
  • Cisco IOS / IOS-XE: show running-config, with enable mode supported and terminal length 0 sent for you, so Cisco's paging never truncates the output
  • pfSense and OPNsense: cat /conf/config.xml. Both firewalls keep their whole configuration in that one XML file
  • OpenWrt: uci export
  • Linux gateways: the WireGuard, interface, netplan and nftables/iptables files, each marked with its path

Owners and managers can override the command for anything else that speaks SSH.

Only changes are stored, and any two versions can be diffed

Each run pulls the config, cleans out volatile lines such as timestamps, and hashes what is left. If the hash matches the last version, the run is recorded as unchanged and nothing new is stored. A new version appears only when the configuration actually changed, so the history reads as a list of real changes, not 365 identical nightly copies.

Pick any two versions and ProxyLink shows a line-by-line diff in the browser. Compare Monday's version with Wednesday's and the changed rule is right there.

Secrets are redacted before anything is stored

A router config is full of things you do not want sitting in a database: PSKs, WireGuard private keys, SNMP communities, user password hashes. ProxyLink runs every capture through a scrubber for that device type and replaces secret values with <redacted> markers before it stores anything. If a value that looks like a secret survives the scrub, the capture is refused rather than stored.

The device's own controls still help. RouterOS 7 hides sensitive values in /export by default, and a dedicated read-only user is better practice than reusing admin credentials. On Cisco, use type 8 or 9 secrets. We scrub anyway, because a device flag is a first layer and not a guarantee.

This is change history, not a restore file

We named it Config history on purpose. Because the secrets are redacted, a stored version cannot be pasted back into a router to rebuild it, and the download says how many values were blanked so nobody finds that out during an outage.

For disaster recovery, keep the vendor's own encrypted backup as well. On MikroTik that is /system backup save with a password. Since RouterOS 6.43 a backup saved without a password is unencrypted, and MikroTik's documentation says a backup should only be restored on the same router. On pfSense, use Diagnostics > Backup/Restore. Config history tells you what changed. The vendor backup gets the box running again. You want both.

Built so it cannot lock you out

A nightly job that logs into fifty client routers can do damage if it is careless, so the runner is deliberately cautious:

  • Host key pinning. The first successful login pins the device's SSH host key. If a later run meets a different key, it stops before sending the password.
  • Two failed logins disable the job. A stale password retried every night is how a router's login protection ends up blocking the address your engineers connect from.
  • Owner or manager only. On team devices, only the team owner or a manager can turn config history on.
  • Audited reads. Every view, download or diff of a stored config writes a row to the audit log.

Where this fits for an MSP

You already put a ProxyLink tunnel on the client's router for browser RDP, VNC and SSH. Config history adds no new tunnel, port or appliance, and when the client asks what changed, you have a dated answer instead of a guess.

Setup details are in the docs at proxylink.dev/docs.

Try ProxyLink free at app.proxylink.dev. It is free during early access, with no credit card. Connect one client router and turn on config history for it.

ProxyLink is free during Early Access

One WireGuard tunnel on a router gives you browser RDP, VNC, and SSH to every device on the LAN. No agent on the target. No credit card. No trial countdown.

Get free access →
← Back to all posts