Install ESP-KVM on ESP32-P4: Browser IP-KVM Guide
Flash, configure, and verify ESP-KVM, then evaluate controlled remote browser access through a Localtonet HTTP tunnel.
In this article 11 sections
Build a browser-controlled hardware console for firmware setup, boot recovery, installation, and operating-system troubleshooting
ESP-KVM turns supported ESP32-P4 hardware into an IP-KVM that captures a target computer's HDMI output and presents keyboard and mouse input over USB. This guide covers board selection, board-specific wiring checks, browser and command-line flashing, first-boot security, local verification, firmware updates, and troubleshooting. It also explains how to evaluate a temporary Localtonet HTTP/s tunnel from another device on the trusted LAN. ESP-KVM advises against placing the device directly on the public internet, so tunneling is presented as a controlled compatibility test, not the upstream-recommended default.
📋 What's in this guide
What ESP-KVM does and why it differs from remote desktop
A conventional remote desktop application runs inside the operating system being controlled. It depends on that operating system booting, establishing network connectivity, and starting the remote-access service. It usually cannot help when a computer is waiting at a firmware prompt, showing a bootloader error, installing an operating system, or failing before its network services become available.
ESP-KVM works outside the target operating system. A supported ESP32-P4 board receives the target computer's video through compatible capture hardware. It also connects to a target USB port and presents keyboard and mouse input. The ESP-KVM device serves the browser console itself, so the managed computer does not need an installed agent, a working network connection, or even a bootable operating system.
Current ESP-KVM documentation also describes features such as screenshots, H.264 recording to microSD, text-grid reading, macros and runbooks, serial-console access, Wake-on-LAN, screen monitoring, MQTT integration, optional power and reset control, and built-in WireGuard or Tailscale connectivity. These capabilities are hardware-dependent and may require storage, extra wiring, an additional network chip, or explicit configuration. Consult the current ESP-KVM feature documentation before purchasing hardware for an advanced feature.
The ESP-KVM interface is designed to disable functions that the detected hardware cannot support. That is useful, but it is not a substitute for checking the board definition before assembly. A firmware image may boot successfully even when an expected network controller, storage interface, display, or USB connector is absent or wired differently.
ESP-KVM joins the management network and serves the browser console. The target supplies HDMI video and receives USB input. The target does not need an IP address or running network stack for basic KVM operation.
Choose compatible hardware and verify board-specific wiring
Start with a board for which the project publishes an ESP-KVM firmware image. The image must match the complete board name and, where separate builds are offered, the ESP32-P4 silicon revision. Do not treat ESP32-P4 development boards as interchangeable. Their pin assignments, flash size, network hardware, microSD wiring, USB routing, power inputs, and optional peripherals can differ.
Use the current ESP-KVM installer and board selector to see the images offered by the current release. For connector assignments and board definitions, open the matching entry in the project's current board configuration directory. This guide intentionally does not provide one universal pin map because such a map would be unsafe across the supported hardware range.
Check the ESP32-P4 revision
Some supported boards ship with either revision 1.x or revision 3.x silicon, and each revision needs its corresponding image when the installer offers separate choices. The current flashing page identifies ESP32-P4NRW32 as revision 1.x and ESP32-P4NRW32X as revision 3.x. On the chip itself, the project says the second character of the manufacturing code identifies the exact revision: E indicates 1.3, while F, G, or H indicates 3.0, 3.1, or 3.2.
The browser flashing page also provides an optional Check my board action. It reads the chip revision and flash size over USB, suggests an appropriate image, and then restarts the board. This check is useful when the marking is difficult to read, but it is optional. It does not identify every physical connector or prove that attached capture hardware is wired correctly.
| Component | Purpose | What must be verified |
|---|---|---|
| Supported ESP32-P4 board | Runs ESP-KVM and serves the browser console | Exact board image, chip revision, flash size, and current project support |
| Compatible capture hardware | Converts the target's video for the ESP32-P4 input | Adapter model, board compatibility, connector type, and ribbon orientation |
| Camera ribbon cable | Links the capture adapter to the ESP32-P4 board | Contact orientation, connector width, and routing specified for both boards |
| HDMI cable | Carries video from the managed computer | Target output is connected to the capture adapter input |
| Target-facing USB connection | Presents keyboard, mouse, and supported virtual media | The board's documented USB OTG port, not merely the most convenient socket |
| Flashing USB connection | Transfers the full firmware image | The USB-serial port and a data-capable cable |
| Network connection | Provides access to the browser console | Ethernet, supported PoE, or Wi-Fi hardware actually available on the board |
| Optional microSD card | Stores media, recordings, screenshots, and related data | Whether the selected board has a supported slot and how it is wired |
Do not confuse USB-serial with USB OTG
ESP-KVM's current installer emphasizes that supported boards have two different USB roles. Flashing uses the USB-serial connection. The target computer connects to the USB OTG interface that appears as a keyboard and mouse. These interfaces may use different sockets or headers.
If the flashing browser shows no serial port, the installer advises trying the other USB socket. After installation, a reachable console with nonfunctional keyboard and mouse often means the target is connected to the wrong USB role. Always confirm the exact port or header in the current board definition and any manufacturer documentation linked for that board.
Capture hardware is board-specific too
Documented builds commonly use compatible HDMI-to-CSI capture hardware connected by a ribbon cable. Other products may integrate or pair with different input hardware. Capture adapters and ribbon pinouts must not be assumed interchangeable. Match the ESP-KVM board, capture adapter, ribbon orientation, and firmware definition as one complete setup.
Connector placement, voltage, USB roles, ribbon orientation, network interfaces, and optional front-panel wiring vary. Use the exact board entry in the upstream repository and the hardware manufacturer's documentation. A successful firmware flash proves only that the serial programming path worked.
Software prerequisites
- A desktop computer with Chrome or Edge for the simplest Web Serial installation.
- A data-capable USB cable connected to the board's USB-serial interface.
- The exact board and chip revision selected in the current installer.
- For command-line flashing, a working
esptoolinstallation and the full-flash archive from the matching release. - For source builds, the toolchain and ESP-IDF version specified by the current repository revision.
Build requirements are version-sensitive. This article does not preserve an old fixed ESP-IDF version because that can produce an incompatible build after the project changes. Developers building from source should use the requirements in the current ESP-KVM repository, including its dependency lock and board-selection instructions, at the exact commit or release being built.
Flash ESP-KVM firmware
There are two current full-installation paths. The browser installer is the easiest option for most users. The command-line fallback uses the release's full-flash archive and its supplied flash_args file. Both write the complete flash layout, including the bootloader, partition table, and firmware.
The browser installer and full-flash command-line procedure rewrite the complete device flash. On a previously configured ESP-KVM, that erases settings and any rescue image stored in the device's flash. Use the in-console update route for a normally functioning device that only needs a firmware update.
Option 1: use the browser installer
Open the installer in desktop Chrome or Edge
Open the official ESP-KVM flashing page over HTTPS. Web Serial is supported by desktop Chrome or Edge for this workflow. Firefox, Safari, browsers on iOS, and other unsupported browsers cannot perform the documented serial installation.
Identify the board and revision
Read the exact board model and ESP32-P4 marking. If useful, run the optional Check my board action to read the chip revision and flash size over USB and obtain an image suggestion.
Connect the USB-serial port
Connect the board to the desktop computer with a data-capable cable through its serial programming port. Do not use the target-facing USB OTG connection for flashing. If the port list is empty, verify the cable and try the board's other USB socket.
Select the exact firmware image
Choose the entry matching the complete board name and chip revision. The main installation button uses the latest release. The page also permits selecting an older or custom -merged.bin file, but that file must still match the hardware.
Start the installation and choose the serial port
Press Install and select the board's serial device from the browser prompt. On Linux it is commonly shown as /dev/ttyACM0; on Windows it appears as a COM port. Select by confirmed device identity rather than guessing when several ports are present.
Wait for the full flash to finish
The official page says flashing takes about a minute. Keep USB and power stable while the bootloader, partition table, and firmware are written. Allow the board to restart after completion.
If the browser cannot connect
If installation fails to connect, hold the board's BOOT button, press Install, and keep holding BOOT until writing starts. This forces the chip into its bootloader when automatic reset does not work. If it still fails, record the exact board name and the error text before seeking help through the project's GitHub Discussions.
Connection failures should be resolved at the serial flashing path. Moving the cable to the target-facing OTG port will not help unless the original problem was that the wrong socket had been selected. Also close serial monitors or development tools that may already have exclusive access to the port.
Option 2: use the full-flash archive and esptool
The current command-line workflow does not ask users to write a merged binary directly at a manually supplied offset. Instead, download the board's full-flash archive from the latest ESP-KVM release, unpack it, and run the command from inside that unpacked directory:
esptool --chip esp32p4 -b 921600 write-flash @flash_args
The archive's flash_args file supplies the authoritative files and addresses for that release. Keep the archive contents together and run the command in its directory so the referenced files can be found. Do not replace @flash_args with an assumed 0x0 layout, and do not combine files from different boards or releases.
A serial-port argument may be required depending on the host and esptool environment. The correct device path is the USB-serial interface presented by the connected board. Because host naming differs, this guide does not invent one universal port value. Confirm the device in the operating system and in the browser installer if necessary.
Similar board names do not imply compatible flash layouts or pin definitions. Download one release archive, unpack it into its own directory, verify its board identity, and use the included flash_args without editing addresses.
Understand the two binary formats
The official installer distinguishes between a merged full-install image and a normal over-the-network update image. A -merged.bin can be selected for a full browser installation. A plain .bin is intended for the update mechanism and does not start by itself when treated as a complete blank-device image. The command-line fallback should use the full-flash archive rather than manually reconstructing either layout.
Building from source
A source build is appropriate for firmware development, testing an unreleased change, or maintaining a custom board definition. It is not required for a normal installation when the project publishes a matching release image.
Check the current repository at the revision you intend to build. Toolchain versions, ESP-IDF requirements, submodules, board targets, partition layouts, and generated file paths can change. Pin the repository commit or release in build records so that a later update does not silently change the development environment.
Connect ESP-KVM to the network and target computer
After flashing, assemble three independent paths: management networking, target video, and target USB control. Testing each path separately makes faults easier to locate.
Connect the management network
Attach Ethernet on an Ethernet-capable board. Use PoE only where the exact board supports it. On a supported Wi-Fi board, the setup hotspot can be used when no wired network is available.
Connect the target's HDMI output
Run HDMI from the managed computer to the input of the compatible capture adapter. Connect the adapter to the ESP32-P4 camera interface using the specified ribbon and orientation.
Connect the target-facing USB OTG interface
Connect the board's documented OTG socket or header to the target computer. This is the path for keyboard, mouse, and supported virtual media. It is distinct from the USB-serial flashing interface.
Apply stable power and boot the board
Use a supported power input for the selected board. Let ESP-KVM finish booting before testing local discovery, the Wi-Fi setup hotspot, or capture behavior.
Optional front-panel power and reset control requires the project-specified isolation hardware and board wiring. Do not connect ESP32 pins directly to a motherboard front-panel header based on an assumed pinout. Complete video, keyboard, mouse, and local network testing before adding power-button, reset-button, serial, display, or other optional wiring.
Complete first-boot configuration
Open the local console
Connect Ethernet, then open the documented local HTTPS address from a client on the same trusted network:
https://espkvm.local/
The documented initial username and password are both admin. ESP-KVM asks for a replacement password on first sign-in. Change it immediately, use a unique value, and store it in an approved password manager.
Use the Wi-Fi setup path when supported
A supported Wi-Fi-equipped board can expose a setup hotspot named with this pattern:
ESP-KVM-xxxx
Join that hotspot and open:
http://192.168.4.1/
Use the setup interface to configure the device's local network. Wi-Fi capability depends on the selected hardware, including the presence of the network coprocessor required by the board design. Do not assume that every ESP32-P4 board includes Wi-Fi.
Do not connect ESP-KVM to a broader network or create any remote access path while the default admin password remains active. A default credential is not protected by an obscure hostname or private IP address.
Handle the device certificate deliberately
ESP-KVM creates a certificate on the device at first boot. Current project guidance exposes its certificate authority through Settings → Security → Download CA certificate and through this local endpoint:
http://espkvm.local/cert.pem
Confirm that the address belongs to the intended KVM before downloading or trusting certificate material. Install a private device CA only on systems where that trust is approved. Trusting a CA affects browser and operating-system certificate decisions, so do not distribute it to unrelated computers.
Certificate behavior is particularly important for H.264, which requires HTTPS. A browser warning that is casually bypassed may allow a test page to load, but managed environments should use a defined trust process. See the current ESP-KVM security and HTTPS guidance for version-sensitive behavior.
Consider optional two-factor sign-in
ESP-KVM supports optional authenticator-app codes. Two-factor sign-in does not replace a strong unique password, network segmentation, or careful exposure decisions, but it adds another barrier when more than one administrator or network segment can reach the login page.
Verify local IP-KVM operation
Complete local verification before attempting any remote tunnel. A tunnel cannot fix an incorrect firmware image, failed capture adapter, reversed ribbon, wrong USB role, certificate problem, or unstable power supply.
Load the local HTTPS console
Open https://espkvm.local/ from the trusted LAN. Confirm that the login page loads and that certificate handling matches your intended trust model.
Verify authentication
Sign in with the changed administrator password. Confirm that the default password no longer works. If two-factor sign-in is enabled, test the complete flow and recovery procedure.
Confirm live target video
Start the target and verify that its current screen appears. Exercise both a pre-boot screen and the operating-system desktop so that resolution changes are tested.
Test keyboard and pointer input
On a harmless target screen, test normal keys, modifiers, pointer movement, clicks, and touch controls if they will be used. Working video with failed input usually points to the OTG path.
Test required video modes
Verify MJPEG and, if needed, H.264. Confirm H.264 through the HTTPS console. Also test text-grid features or low-bandwidth modes if they are part of the recovery plan.
Reboot the target
Confirm that the console remains usable through firmware setup, boot selection, operating-system startup, and display-mode transitions.
| Test | Expected result | Likely area if it fails |
|---|---|---|
| Open local console | HTTPS sign-in page loads | Network, name discovery, firmware boot, or certificate handling |
| View target screen | Current HDMI output appears | HDMI source, capture adapter, ribbon orientation, or board definition |
| Send keyboard input | Target receives keys | USB OTG connector, cable, target USB port, or board wiring |
| Move and click pointer | Pointer input lands at the intended location | USB path, screen mapping, or multi-screen configuration |
| Use H.264 | Video starts over HTTPS | Secure-origin handling, certificate trust, codec selection, or capacity |
| Reboot target | Firmware and startup remain visible | Resolution transitions, capture synchronization, or target output |
Update an already-running ESP-KVM safely
Do not return automatically to the full browser flasher when ESP-KVM is already running correctly. The preferred update path is inside the console under Settings → System. It can check for a newer build and install it, or accept a plain update .bin downloaded from the current releases page.
ESP-KVM's Offer firmware updates setting is off by default. If enabled, the browser checks for a newer release and offers installation. According to the current installer documentation, the browser performs that check; the ESP-KVM device itself does not need to go online merely to discover the release.
Why the in-console route is preferred
An in-console update writes the spare firmware slot. If the new image fails to start, ESP-KVM can roll back to the slot that worked. This update path preserves device settings and a rescue image stored in device flash. It also avoids requiring the USB flashing cable during a routine update.
A full browser flash or command-line full flash has different behavior. It rewrites the complete flash, erases settings, and removes any rescue image stored in device flash. That is appropriate for a first installation or serious recovery, but it is unnecessarily destructive for a healthy device that only needs a newer firmware version.
| Method | Use it for | Settings and rescue image | Recovery behavior |
|---|---|---|---|
| Settings → System update | Preferred routine update on a working device | Preserved | Writes the spare slot and can roll back if startup fails |
| Browser full flash | First installation or full recovery | Erased | Rewrites bootloader, partition table, and firmware |
| esptool full-flash archive | Command-line first installation or full recovery | Erased | Uses the release archive's authoritative flash layout |
Record the working version, preserve approved configuration information, schedule updates when local recovery is possible, and retest login, certificates, networking, video, keyboard, mouse, and virtual media after each change.
ESP-KVM's current security documentation states that secure boot and flash encryption are disabled and that update images are not signed. It also states that the project has not received an external security review. These are material deployment limitations. Revalidate them against the current upstream project before each security review because firmware behavior can change.
Evaluate controlled remote access with Localtonet
ESP-KVM's upstream guidance says not to put the device on the public internet. It recommends keeping the KVM on a trusted network or using its built-in WireGuard or Tailscale support. That recommendation remains the default for this guide.
A Localtonet HTTP/s tunnel can expose a service through an outbound connection from a Localtonet client device. It does not require inbound router port forwarding, firewall changes, VPN setup, or a public IP address. For ESP-KVM, the client must run on another machine that can reach the KVM over the trusted LAN.
This architecture can be evaluated when the deployment owner has deliberately accepted public URL exposure and has a reason not to use the upstream-recommended private-network options. It must not be treated as production-ready merely because the login page loads. ESP-KVM uses interactive video and input paths, so HTTPS origin behavior, redirects, certificate handling, WebSockets, video transport, authentication, keyboard input, pointer input, and reconnect behavior all need testing.
Avoiding router port forwarding does not make the assigned public address private. Anyone who obtains or discovers a reachable address can attempt to connect. Use strong ESP-KVM authentication, enable two-factor sign-in where appropriate, limit the access window, supervise testing, and stop the tunnel when it is no longer required.
Required architecture
Confirm the local target before creating the tunnel
The documented ESP-KVM endpoint is https://espkvm.local/, but Localtonet HTTP/s tunnels require a reachable local IP address and numeric port. Confirm both from the current deployment before creating the tunnel. Do not assume that the .local name resolves from the Localtonet client machine, and do not invent a port from the URL scheme alone.
From the machine that will run Localtonet, open the ESP-KVM console directly. Verify the HTTPS origin, login, video, keyboard, and pointer from that machine. A console that works from an administrator's laptop does not prove that a separate tunnel host has the same DNS, routing, certificate trust, or firewall path.
Localtonet setup sequence
Install and run the Localtonet client on a LAN device
Choose a supported device that remains on the trusted network and can reach ESP-KVM directly. Do not install the Localtonet client on the ESP32-P4 itself for this workflow.
Authenticate or select the client device
Use the device-specific Localtonet authentication token through the current client workflow. Keep the token secret and never place it in screenshots, public logs, scripts, or article examples.
Select an available relay server
Choose a currently available server or region in the dashboard. Available choices can vary, so do not copy a hardcoded server code from an old tutorial.
Create the HTTP/s tunnel configuration
Enter the ESP-KVM device's reachable LAN address and confirmed numeric service port. Preserve HTTPS behavior as required by the application and H.264, and do not assume that changing origins or schemes will be transparent.
Start the tunnel
Creating a tunnel does not start it. Use the Start control and wait until the selected client device and tunnel are connected. Access remains available only while the client is connected and the tunnel is running.
Test remotely, then stop the tunnel
Test from a network outside the management LAN. If any required channel fails, stop the tunnel rather than weakening ESP-KVM authentication or certificate controls. Stop or delete the tunnel when the approved test window ends.
Follow the current Localtonet HTTP/s tunnel documentation for the dashboard workflow and currently available options. Exact client installation paths, relay choices, process types, and plan availability can change.
Run a complete compatibility test
- Load and reload the public login page from outside the management network.
- Confirm password authentication and optional two-factor sign-in.
- Verify redirects do not send the browser to an unreachable local hostname.
- Check browser certificate and secure-origin behavior.
- Start MJPEG and confirm that frames remain current rather than building a delayed queue.
- Test H.264 separately because ESP-KVM requires HTTPS for that mode.
- Verify the WebSocket or other long-lived connections used for video and controls.
- Send normal keys, modifier combinations, pointer movement, clicks, and paste input.
- Move between firmware setup and the operating system to exercise resolution changes.
- Leave the session idle, return to it, and verify video and input recovery.
- Test every browser type that administrators are expected to use.
- Stop the Localtonet tunnel and verify that the public path no longer works.
Do not approve the tunnel for an outage workflow until HTTPS origin handling, redirects, WebSockets, both video modes, keyboard input, pointer input, authentication, reconnection, and tunnel shutdown have been tested. If those tests have not been completed, describe the setup only as experimental.
Operate ESP-KVM as privileged infrastructure
Protect the management network
Someone who controls an IP-KVM can potentially enter firmware settings, select alternate boot media, operate recovery tools, and interact with the target outside its normal operating-system permissions. Place ESP-KVM on a management network suitable for privileged hardware administration.
Use a unique administrator password, enable optional two-factor sign-in when appropriate, and limit the people and systems that can reach the console. Do not rely on an uncommon hostname, an undisclosed IP address, or an unshared tunnel URL as the primary access control.
Treat virtual media as administrative access
Virtual media can install or repair a system, but it can also alter the target's boot process. Store only approved images, verify their provenance, and detach them after use. ESP-KVM documents FAT32 and exFAT microSD support, with exFAT permitting images larger than 4 GB.
Current project guidance notes that capture, encoding, networking, and storage can compete for device resources on some boards. Pausing video can improve a large media upload. Performance varies by board, chip revision, storage, network interface, firmware release, and capture workload, so use current upstream measurements rather than carrying old benchmark figures into a deployment plan.
Review optional integrations individually
MQTT, Home Assistant discovery, WireGuard, Tailscale, serial access, screen monitoring, webhooks, power controls, and runbooks expand the device's capabilities and trust relationships. Enable only the functions required for the deployment. Verify current defaults, authentication, network listeners, and hardware prerequisites in the upstream ESP-KVM documentation.
Stop temporary Localtonet tunnels
A configured Localtonet tunnel is inactive until started, and it can be stopped or deleted later. For temporary maintenance, start it only for the approved period and stop it immediately afterward. Delete configurations that are not expected to be reused.
Keep the Localtonet device token private. It identifies the client device that runs the tunnel and must not appear in screenshots, issue reports, shell history shared with others, or public configuration examples.
Troubleshooting installation, video, input, and access
The browser says serial access is unavailable
Use desktop Chrome or Edge and open the flashing page over HTTPS. Firefox, Safari, iOS browsers, and other environments without the required Web Serial support cannot perform this installation. Use the full-flash archive and esptool when browser flashing is unavailable.
The browser shows no serial device
Confirm that the USB cable carries data and that the board is connected through its USB-serial interface. Try the other USB socket if the board has separate serial and OTG ports. Close serial monitors and disconnect unrelated development boards to simplify the port list.
Install fails before writing begins
Hold the board's BOOT button, press Install, and keep holding until writing starts. This forces the ESP32-P4 bootloader when automatic reset does not take. If the problem remains, capture the full error and exact board name before requesting support.
esptool cannot find files or uses the wrong layout
Download and unpack the matching full-flash archive. Run the command from inside that directory:
esptool --chip esp32p4 -b 921600 write-flash @flash_args
Do not substitute an old merged-image command or manually enter offsets. If files are missing, unpack a fresh copy of the archive rather than editing flash_args to point at unrelated binaries.
The board starts, but espkvm.local does not resolve
The .local name depends on local discovery. Confirm that the client and KVM are on an appropriate network segment and that multicast discovery is permitted. Check the router or DHCP service for the assigned IP address. On supported Wi-Fi hardware without a wired connection, look for the ESP-KVM-xxxx setup hotspot and open http://192.168.4.1/.
The browser reports a certificate warning
ESP-KVM creates its certificate at first boot. Confirm that the address is the intended device before accepting any temporary warning or installing its CA. For managed trust, obtain the CA through Security settings or the local /cert.pem endpoint and install it only where authorized.
The console loads, but there is no video
Check that the target is producing HDMI output and that the cable enters the capture adapter's input. Reseat the camera ribbon in the correct orientation and confirm that the adapter is supported by the selected board definition. Test at a common resolution and watch the target from power-on to determine whether only certain display modes fail.
Video works, but keyboard and mouse do not
This separates the capture path from the USB control path. Verify that the target is connected to the board's documented USB OTG interface, not its USB-serial flashing port. Try another known data-capable cable and another target USB port. Confirm the exact connector assignment in the current board reference.
H.264 does not work
Verify the local HTTPS endpoint and certificate handling first because H.264 requires HTTPS. If local H.264 works but tunneled H.264 fails, investigate secure-origin behavior and the interactive video connection. Do not assume compatibility from a working login page or MJPEG stream.
An update removed settings or rescue media
This is expected after a full browser or command-line flash. Reconfigure the device and upload the rescue image again. For future routine updates, use Settings → System, which writes the spare firmware slot and preserves settings and the rescue image.
No update notification appears
Offer firmware updates is off by default. Enable it under Settings → System if the deployment permits the browser to check for new releases. Alternatively, download the appropriate update .bin from the releases page and provide it through the same in-console update area.
The Localtonet client cannot reach ESP-KVM
Open the local ESP-KVM endpoint directly from the Localtonet client machine. Confirm its LAN IP address, numeric service port, route, local firewall policy, and certificate behavior. A working connection from another laptop does not prove that the tunnel client has the required path.
The public page loads, but controls or video disconnect
Test MJPEG and H.264 independently. Check long-lived browser connections, redirects, origin changes, and certificate behavior. Compare with simultaneous local access. If the remote path cannot preserve a required channel, stop the tunnel rather than disabling security controls.
The tunnel exists but is unreachable
Confirm that the selected Localtonet client device is connected and the tunnel has actually been started. Creating a tunnel does not start it. Verify that the local service still responds from the client device and that the configured local address and numeric port remain correct.
Frequently asked questions
Can ESP-KVM control a computer before its operating system starts?
Yes. ESP-KVM captures HDMI and presents keyboard and mouse input over USB independently of the target operating system. It can therefore be used at firmware screens, boot menus, installers, and recovery environments.
What is the default ESP-KVM login?
The documented initial username and password are both admin. ESP-KVM asks for a new password on first sign-in. Change it immediately before connecting the device to a broader network.
Which browser can install ESP-KVM?
The official Web Serial installer requires desktop Chrome or Edge. Firefox, Safari, iOS browsers, and browsers without compatible serial access cannot use the documented browser installation path.
Is Check my board required?
No. It is optional. It reads chip revision and flash size over USB, suggests a fitting image, and restarts the board. You can instead identify the revision from the ESP32-P4 marking and select the matching image manually.
What command should I use for command-line flashing?
Download and unpack the matching full-flash archive, enter its directory, and run esptool --chip esp32p4 -b 921600 write-flash @flash_args. The included file supplies the release's authoritative flash layout.
Will a full flash preserve ESP-KVM settings?
No. A browser full flash or command-line full flash erases settings and any rescue image stored in device flash. Use the in-console update route under Settings → System for routine updates that should preserve them.
How does the preferred in-console update work?
It writes the spare firmware slot and can roll back if the new image fails to start. It preserves settings and a rescue image in flash. Offer firmware updates is off by default and can be enabled in Settings → System.
Why must the firmware match the exact board and revision?
Boards can differ in flash size, pin assignments, networking, USB routing, storage connections, and optional peripherals. Some boards also ship with different ESP32-P4 revisions that require separate images.
Does ESP-KVM require HTTPS?
The normal console endpoint uses HTTPS, and H.264 specifically requires an HTTPS origin. ESP-KVM creates a certificate on first boot and provides its CA through Security settings and the local certificate endpoint.
Can Localtonet run directly on ESP-KVM?
Not in this workflow. Run the Localtonet client on another supported device that can reach ESP-KVM over the trusted LAN.
Which numeric port should the Localtonet tunnel use?
Confirm the active numeric port from the current ESP-KVM deployment before configuring the tunnel. Do not guess it from the https:// scheme, and verify direct access from the Localtonet client machine first.
Is Localtonet the upstream-recommended remote-access default for ESP-KVM?
No. ESP-KVM advises against placing the device on the public internet and recommends a trusted network or its built-in WireGuard or Tailscale options. A Localtonet HTTP/s tunnel should be evaluated only as a deliberate alternative with strong authentication, a limited access window, and complete compatibility testing.
Does creating a Localtonet tunnel make it active?
No. The tunnel must be started after creation. It remains available only while the selected Localtonet client is connected and the tunnel is running. Stop or delete it when the maintenance window ends.
Evaluate temporary ESP-KVM access with Localtonet
First verify ESP-KVM completely on the trusted LAN. If your risk review permits a public HTTP/s path, run our client on another reachable device, create a short-lived tunnel, test every required video and input channel under supervision, and stop the tunnel as soon as the approved session ends.
Get Started Free →Corrections & updates
Substantive changes approved by the Localtonet editorial team are listed transparently below.
Localtonet is a secure multi-protocol tunneling and proxy platform designed to expose localhost, devices, private services, and AI agents to the public internet supporting HTTP/HTTPS tunnels, TCP/UDP forwarding, mobile proxy infrastructure, file server publishing, latency-optimized game connectivity, and developer-ready AI agent endpoint exposure from a single unified control plane.