All posts Feature

WebAdmin Through Connect Now Loads Faster

FEATURE 2 MIN READ NETDEFENSE TEAM

Connect opens a firewall’s own OPNsense WebAdmin in your browser, with no inbound port and no VPN. Over a slow or distant link it could feel sluggish: its pages and API answers travelled uncompressed, and each new session downloaded the interface’s static files again. It is faster now.

TL;DR

  • From NetDefense agent 1.32.0, WebAdmin’s pages, menus and API answers travel compressed: a dashboard’s pages fall from about 223 KB to 31 KB, with less work for the agent.
  • The web console keeps a device’s static files in your browser, so a later session to the same firewall doesn’t download them again.
  • More requests run at the same time, and a session gets ready sooner after you click Connect.

Less waiting

More of WebAdmin’s requests run at once, so a dashboard’s live widgets no longer hold up the next page. The web console also checks more often whether the firewall has joined, so the session opens sooner.

What is kept, and what isn’t

Only the static files the firewall marks as safe to keep are kept: the scripts, styles and images of its interface. When they change on the device, for example after a firmware update, the browser fetches them again. Answers from the firewall’s API, which carry its settings, logs and status, are never kept.

Kept files are stored apart for each signed-in user and each device, and the firewall’s pages can’t read them. They are cleared when you sign out, or when another user signs in on the same browser. The details are on the Remote Access page.

Upgrade to agent 1.32.0

The kept files, the extra requests and the quicker start come with the web console, on any agent. The compression needs agent 1.32.0 on the firewall. Upgrade under System > Firmware > Updates, let your scheduled updates bring it, or use Install plugin on the web app’s Run page, or the CLI:

ndcli bash
$ ndcli run plugin-install --device <name>

Coming from an agent older than 1.31.0?

From 1.31.0 the agent always verifies its connections to NetDefense. A firewall that relied on SSL Verification being off can stop connecting when it upgrades. Read Agent 1.31.0: SSL Verification before you upgrade it.

Updating the agent lists every way to update.

Related reading

Security Direct-Peer Remote Sessions: a Straight Line to Your Firewall
Security NetDefense Agent 1.31.0: Check SSL Verification Before You Upgrade
Guide How to Back Up OPNsense Firewall Configurations to Your Own S3 Bucket

Enjoyed this post? Explore more in the documentation.