Skip to content

Remote Access to a Home GPU Sketch-to-Image UI

Draw on a tablet and render on your home GPU. Publish a local sketch-to-image UI with a Localtonet HTTP tunnel, verify WebSockets and lock down access.

Summary in your language
In this article 11 sections
Tablet showing a sketch and a partial render, with a home GPU desktop in the background
The tablet handles drawing, while the home GPU desktop performs the rendering.
AI & Self-Hosting · Remote ComfyUI Access · Localtonet · 2026

Keep the GPU at home, carry the canvas anywhere, and connect the two through one controlled HTTPS address.

Sketch-guided image generation works best when you can draw on a touch screen. The heavy lifting usually happens on a desktop GPU sitting behind a home router. This guide explains why sketch-to-image sessions are more demanding on the network than text-only prompting. It then shows how to keep your generation UI bound to the local machine, put an authenticating reverse proxy in front of it, and publish it with a Localtonet HTTP tunnel. You will also learn how to verify live progress updates and large image transfers, how to collect sketches and renders with our File Server tunnel, and how to shut everything down cleanly when the session ends.

🔒 Authentication in front of the UI before anything goes public 🌐 HTTPS public address without router port forwarding ⚡ Tablet sketching, home GPU rendering, start and stop on demand

Why sketch-to-image workflows stress the network

A text prompt leaves composition to the model. You ask for a bike outside a café and the model decides where the bike stands, how large it is, and where the camera points. If the result does not match the layout in your head, you rewrite the prompt and try again. Adding a sketch step changes that. A rough drawing fixes the position of the subject, the horizon line, the empty space reserved for copy, and the relationship between objects. The prompt is then free to describe materials, light, color and rendering style. When something is wrong, you fix the input that owns the problem: redraw the sketch for position, scale and framing, or edit the prompt for surface, palette and mood.

That division of labor is great for creative control, and it also explains why sketching usually happens on a tablet with a stylus rather than on a desktop with a mouse. The trouble is that the machine with the GPU, the models, the custom nodes and the gigabytes of checkpoints is rarely the machine you want to draw on. It sits under a desk at home, behind a router that performs network address translation, often on a residential connection without a stable public IP address. Your tablet might be on the same Wi-Fi today and on a café network or mobile data tomorrow.

A remote sketch session is also far more interactive than sending a short text prompt. Consider what actually crosses the network during one iteration:

🖌️ Canvas uploads Every revision of the sketch is sent to the server as an image file. Revising layout repeatedly means many uploads per session, each one larger than any text prompt.
📨 Workflow submissions The browser sends the graph or job definition that tells the server which model, conditioning and parameters to use. These requests are small but frequent.
📡 Live progress updates Many image generation UIs, ComfyUI among them, push queue status, step progress and previews to the browser over a long-lived connection such as a WebSocket. If that connection breaks, the UI looks frozen even while the GPU works.
🖼️ Result downloads Finished renders are full-resolution images. Batches of several variations per sketch multiply the download volume, and reviewing at full size means pulling the original files, not thumbnails.
⏱️ Long-running jobs A single generation can take seconds or minutes depending on the model, resolution and hardware. Timeouts anywhere on the path can cut a connection before the job finishes.
📁 Reference material Product photos, character portraits and earlier sketches travel back and forth too. Keeping them organized outside the generation UI saves time.

Because the workflow mixes small API calls, persistent progress streams and large binary transfers, the access path needs to handle all three. That is the core of this guide: choose an access method that carries ordinary HTTP, long-lived connections and big files, then verify each of those behaviors explicitly instead of assuming them.

How the pieces fit together

Diagram of the path from a remote tablet through a Localtonet HTTP tunnel and auth proxy to a home image UI
Requests travel from the tablet through the public endpoint and tunnel to the auth proxy, then on to the local image UI.

The setup we recommend has four parts, all running on or near the GPU machine except the tablet itself.

The generation UI

This is the web application that loads your models and runs the sketch-conditioned workflow. ComfyUI is a common choice because its node graph makes it straightforward to wire a sketch or scribble image into a conditioning step, but the same pattern applies to other browser-based Stable Diffusion frontends. The UI should listen only on the loopback address of the GPU machine, so nothing on your home network or the internet can reach it directly.

An authenticating reverse proxy

A small web server such as nginx sits in front of the UI, also listening on loopback but on a different port. It asks for a username and password, forwards authenticated requests to the UI, passes WebSocket upgrade requests through, and allows uploads large enough for your canvas images. This layer exists because many local image generation UIs are designed for a single user on a single machine and do not ship with login protection of their own.

The Localtonet client

Our client application runs on the GPU machine and opens an outbound connection to a Localtonet relay server. Because the connection is outbound, you do not need to forward ports on your router, change firewall rules for inbound traffic, set up a VPN, or have a public IP address. The HTTP tunnel points at the reverse proxy's local address and port, not at the UI directly.

The tablet browser

On the tablet you open the public HTTPS address assigned to the tunnel, sign in at the proxy's prompt, and use the UI as if you were sitting at the desk. Whether you draw inside the UI's own canvas tools or export a sketch from a separate drawing app and upload it depends on your workflow and the UI you use.

Tablet browser
   │  HTTPS (public tunnel address)
   ▼
Localtonet relay server
   │  outbound connection initiated by the client
   ▼
Localtonet client on the GPU machine
   │  http://127.0.0.1:<proxy-port>
   ▼
Reverse proxy with authentication (loopback only)
   │  http://127.0.0.1:<ui-port>
   ▼
Image generation UI (loopback only) ──► GPU
Why the tunnel targets the proxy, not the UI

If the tunnel pointed straight at the UI, anyone who learned the public address could submit jobs to your GPU, read your output folder through the UI, and possibly interact with installed extensions. Pointing the tunnel at an authenticating proxy means every request must pass a credential check before it reaches the UI.

Prerequisites

Before you start, make sure you have the following in place. Nothing here requires changes to your router.

  • A GPU machine with a working image generation UI. It should already produce images locally from a sketch-conditioned workflow. If you have not installed the UI yet, follow its official installation instructions for your operating system and GPU first; the steps differ between Windows, Linux and macOS and between NVIDIA, AMD and Apple hardware.
  • The models your sketch workflow needs. A base checkpoint plus whatever conditioning model your workflow uses for sketches or scribbles. Which files you need and where they go are defined by the UI and the workflow, not by the network setup.
  • A reverse proxy that supports HTTP basic authentication and WebSockets. This guide uses nginx in its examples because its configuration directives for these features are long established. Other proxies work too if you translate the same three requirements: authentication, WebSocket upgrade forwarding, and an adequate request body size.
  • A Localtonet account and the Localtonet client application installed on the GPU machine.
  • The device auth token for that machine, available in your Localtonet dashboard. Treat it like a password.
  • A tablet or phone with a modern browser. Optional: a stylus and a drawing app if you prefer to sketch outside the UI.
Confirm tool-specific defaults yourself

Listen addresses, default ports, command-line flags and authentication options belong to each generation UI and can change between releases. Where this guide mentions a specific value for a third-party project, treat it as a starting point to confirm against that project's current documentation and the startup output on your own machine, not as a guarantee.

Prepare the image UI locally

Remote access only works reliably on top of a local setup that already works. Spend a few minutes confirming the following on the GPU machine itself before involving the tablet or the tunnel.

Confirm the listen address and port

Start the UI the way you normally do and read its console output. Most browser-based generation UIs print the address they are serving on during startup. For ComfyUI, the project documentation at the time of writing describes a local server on 127.0.0.1 using port 8188 by default, with startup options to change the listen address and port. Check the current ComfyUI documentation and your own console output rather than relying on that from memory, especially if you use a desktop or portable build that may apply different defaults.

Write down two facts: the address the UI binds to and the port. You will need the port for the reverse proxy configuration.

Keep it bound to loopback

You may have seen guides that tell you to make the UI listen on all interfaces so other devices on the LAN can reach it. For this setup you do not need that, and it is safer not to. The Localtonet client and the reverse proxy run on the same machine as the UI, so they can reach it on 127.0.0.1. Binding to loopback means nobody on your home Wi-Fi, guest network or any compromised IoT device can bypass the proxy and talk to the UI directly.

If you previously enabled listening on all interfaces, revert to the loopback-only default or set the listen address explicitly to 127.0.0.1 using the option your UI documents.

Run a full local test

Open the UI in a browser on the GPU machine using the loopback address and port. Then run one complete sketch iteration:

  1. Load or build your sketch-conditioned workflow.
  2. Upload a test sketch, ideally one at the resolution you will actually use from the tablet.
  3. Queue a generation and watch the progress indicator move.
  4. Open the finished image at full size and download it.

If any of these fail locally, fix them first. A tunnel cannot repair a missing model file, a misconfigured node or an out-of-memory error; it will only make the failure harder to diagnose.

Note your file sizes

Look at the size of a typical sketch upload and a typical finished render. You will use these numbers to set the proxy's maximum request body size with comfortable headroom. A clean line drawing exported as PNG is often small, but a high-resolution canvas with textures, layers flattened into one image, or a photo reference can be much larger.

Add authentication before anything goes public

This section is deliberately placed before the tunnel instructions. An HTTP tunnel gives your UI a public HTTPS address. Public means reachable by anyone who has or guesses the address, and addresses leak through browser history sync, shared screenshots, chat previews, logs and simple curiosity. A public URL should never be treated as private, no matter how random the subdomain looks.

Many local image generation UIs assume a trusted, single-user environment. As far as we are aware at the time of writing, the core ComfyUI server does not include built-in user login, although the ecosystem and the project change quickly. Check the current documentation of whichever UI you run. Even if a login option exists, a separate authenticating proxy is a sensible extra layer because it stops unauthenticated requests before they reach any of the UI's endpoints or installed extensions.

What an unprotected UI exposes

Without authentication, anyone with the address could queue jobs on your GPU, view previously generated images, upload files to your machine through the UI's upload feature, and interact with any third-party extensions you have installed, some of which may perform actions on the host. Do not start the tunnel until the proxy below is working.

Create a credentials file

nginx's basic authentication reads usernames and hashed passwords from a file. On Linux, the htpasswd utility (packaged as apache2-utils on Debian and Ubuntu, or httpd-tools on Red Hat based systems) creates it. The -c flag creates a new file, so only use it the first time:

sudo htpasswd -c /etc/nginx/.htpasswd sketchuser

You will be prompted for a password. Choose a long, unique one, since this is the only thing standing between the public internet and your GPU. Paths differ on Windows and macOS installations of nginx; place the file where your nginx configuration can read it and adjust the path in the configuration accordingly.

Configure the proxy

The following server block shows the three behaviors this workflow depends on. It listens only on loopback, requires a password, forwards WebSocket upgrades, raises the upload limit, and extends the read timeout for long generations. Replace the UI port with the one your UI actually printed at startup, and choose any free local port for the proxy itself.

server {
    # Loopback only: the Localtonet client connects here, nothing else should.
    listen 127.0.0.1:8080;

    # nginx rejects request bodies above 1 MB by default.
    # Raise this above your largest expected sketch or reference upload.
    client_max_body_size 50m;

    location / {
        auth_basic           "Sketch studio";
        auth_basic_user_file /etc/nginx/.htpasswd;

        # Replace 8188 with the port your UI reports at startup.
        proxy_pass http://127.0.0.1:8188;

        # Required for WebSocket-based progress updates.
        proxy_http_version 1.1;
        proxy_set_header Upgrade    $http_upgrade;
        proxy_set_header Connection "upgrade";

        proxy_set_header Host $host;

        # Allow long-running jobs and idle progress streams.
        proxy_read_timeout 600s;
        proxy_send_timeout 600s;
    }
}

A few notes on these lines, since each one maps to a specific part of the sketch workflow:

  • client_max_body_size controls the largest upload nginx accepts. Its default of 1 MB is easily exceeded by an image, and the symptom is an upload error from the proxy, typically HTTP 413, rather than anything from the UI. Set it based on the file sizes you measured earlier.
  • proxy_http_version 1.1 with the Upgrade and Connection headers is the standard nginx pattern for passing WebSocket handshakes to a backend. Without it, the UI loads but progress updates never arrive.
  • proxy_read_timeout governs how long nginx waits for data from the backend. A progress stream can be quiet between steps, and a long job may not send anything for a while. Extend it to fit your slowest realistic generation.
  • proxy_set_header Host $host forwards the host the browser asked for. Some UIs validate the Host or Origin headers as cross-site protection. If you see rejected requests through the proxy, see the troubleshooting section.

Test the configuration, reload nginx, and then open http://127.0.0.1:8080 on the GPU machine. You should get a password prompt, then the UI. Repeat the full local test from the previous section through the proxy, including an upload and a generation with visible progress. If it works through the proxy locally, the tunnel has a sound target.

sudo nginx -t
sudo systemctl reload nginx

The reload command above applies to Linux systems managed by systemd. On other platforms, reload nginx the way your installation documents.

Other ways to restrict access

Basic authentication over HTTPS is a reasonable baseline for a personal setup. Depending on your needs you might prefer an identity-aware proxy with single sign-on, or a forward-auth component in front of nginx. If you never need access from arbitrary networks and both devices can join a private network, our VPN Manager is another option, described in the comparison table below. Whichever you choose, apply least privilege: give credentials only to people who need them, rotate the password if it might have been shared, and remove access when a collaboration ends.

Publish the proxy with a Localtonet HTTP tunnel

Localtonet console showing a connected HTTP/s tunnel to 127.0.0.1 port 8080
The console shows the HTTP tunnel connected and forwarding to the local proxy port.

With the UI on loopback and the authenticating proxy working, you can create the tunnel. An HTTP tunnel on our platform points to a local IP address and port that the client device can reach, and serves it at a public HTTPS address. For HTTP tunnels you choose a Process Type: Random Sub Domain, Custom Sub Domain, or Custom Domain. All three serve the same content over HTTPS; they differ only in how the address is chosen.

1

Install and run the Localtonet client on the GPU machine

Install the Localtonet application for your operating system on the same machine that runs the UI and the proxy. That machine can reach 127.0.0.1:8080, which is what the tunnel needs.

2

Authenticate the device with its token

Connect the client using the auth token for this device from your dashboard. Tokens are device-specific. Never paste one into chats, screenshots or shared notes.

3

Select a relay server

Choose one of the relay servers listed in your dashboard. Picking one geographically close to where you usually sketch is a sensible default, but the available options are shown in the product rather than fixed here.

4

Create an HTTP tunnel pointing at the proxy

On the HTTP tunnel page, choose a Process Type (Random Sub Domain, Custom Sub Domain, or Custom Domain), select the device's AuthToken and the server, and enter the local IP 127.0.0.1 and the proxy port, 8080 in our example. Do not enter the UI's own port.

5

Start the tunnel and open the public address

Creating a tunnel does not run it. Press Start, then open the assigned HTTPS address on the tablet. You should see the proxy's password prompt before anything else.

6

Stop or delete the tunnel when you are done

When the session ends, stop the tunnel. Delete it if you will not use that address again. A stopped tunnel no longer exposes the proxy.

For the authoritative, current version of this flow and any fields added since this guide was written, see the Localtonet HTTP tunnel documentation.

Choosing a Process Type

Process Type Best for Behavior
Random Sub Domain Occasional sessions, quick tests A generated subdomain serves the proxy over HTTPS. Useful when you do not need a memorable address. Randomness is not access control; keep the password prompt in front.
Custom Sub Domain A regular personal studio address you bookmark on the tablet You choose the subdomain, where supported, so the address stays the same between sessions. A predictable address makes authentication even more important.
Custom Domain Studios or teams that want the UI under their own domain Serves the same content at your own domain over HTTPS. DNS requirements must be checked against current Localtonet documentation before you configure records.
The tunnel only exists while the client runs

A Localtonet tunnel is available only while the selected device is connected and the tunnel is running. If the GPU machine sleeps, reboots, or loses its connection, the public address stops working until the client reconnects and the tunnel is running again. Plan power settings accordingly for long rendering sessions.

Verify uploads, live progress and downloads through the tunnel

Three-step flow showing sketch upload, WebSocket progress updates, and render download through the tunnel
Each remote session should be checked for three things: the upload, live progress over WebSocket, and the final download.

A UI that loads is not the same as a UI that works. Sketch sessions depend on three behaviors, and each can fail independently. Test them in order from the tablet, ideally on a different network than your home Wi-Fi (for example mobile data) so you exercise the real public path.

1. Authentication and page load

Open the public HTTPS address. You should see the browser's credential prompt from the proxy. Cancel it once and confirm you get an authorization error instead of the UI; that proves the proxy is enforcing access. Then sign in with the credentials you created and confirm the UI loads completely, including its stylesheets and scripts. A partially rendered interface usually points to blocked static resources or a proxy misconfiguration rather than a tunnel problem.

2. WebSocket progress updates

This is the test most people skip. Queue a generation and watch the progress indicator. If it advances step by step and the result appears automatically when the job finishes, the progress channel is working end to end.

For a more precise check, use the browser's developer tools. On a desktop browser, open the Network panel and filter for WebSocket (often labeled "WS"). Reload the page and look for a connection with status 101 Switching Protocols, then watch messages arrive while a job runs. On tablets, developer tools are less convenient; Safari on iPadOS can be inspected from a Mac with Web Inspector, and Chrome on Android can be inspected from a desktop Chrome. If that is too much effort, the visual test above is a reliable proxy.

Our HTTP tunnel documentation is the reference for how long-lived connections are handled through the tunnel. Rather than assuming, run this test before you rely on a remote session for real work. If the WebSocket handshake fails, the most common cause in this architecture is a missing upgrade configuration in the reverse proxy, not the tunnel itself.

3. Large uploads

Upload the largest sketch or reference image you expect to use. If it fails with a "request entity too large" style error, raise client_max_body_size in the proxy and reload. If it succeeds locally through the proxy but is slow from the tablet, the limiting factor is usually the upload bandwidth of the tablet's network or your home connection's capacity, not the software stack. Mobile networks in particular often have much lower upload than download speed.

To keep sketch uploads fast, export sketches at the resolution your workflow actually needs. Conditioning images are often resized by the workflow anyway, so sending a canvas several times larger than the generation resolution wastes time on every iteration. Flat line art compresses well as PNG.

4. Full-size downloads

Open a finished render at full resolution and download it to the tablet. Reviewing at full size matters for sketch-guided work: hands, contact points, shadows, reflections and thin architectural lines often look fine as thumbnails and fall apart at 100 percent. Also review at the intended display size, since thin details can disappear on a phone screen and a composition that reads well on a desktop can feel crowded in a small placement.

Isolate problems by testing one hop at a time

If something fails remotely, retest at 127.0.0.1:<ui-port> (UI directly), then at 127.0.0.1:8080 (through the proxy), both on the GPU machine. Whichever hop first shows the failure is where to look. Only if both local tests pass and the public address fails is the tunnel path the likely cause.

Optional: share sketches and renders with a File Server tunnel

The generation UI is good at producing images, but it is not a great place to organize references, compare revisions, or hand results to a client. A practical pattern is to keep a dedicated folder on the GPU machine with subfolders such as sketches, references and exports, and publish that folder with our File Server tunnel. You can then drop new sketches in from the tablet, pull approved renders out, and share specific files without giving anyone access to the generation UI itself.

File Server publishes a local folder path rather than a local IP and port. It has three sub-types, each suited to a different way of working:

Sub-type Best for Behavior
Default Using the folder from a tablet browser, sharing results A browser-based file manager with no client install needed on either side. Supports upload, download, preview, search, share links and a photo gallery view.
SFTP Scripts and desktop clients that sync renders Standard SFTP access compatible with tools such as FileZilla, WinSCP and rsync, plus CI/CD and automation.
WebDAV Mounting the folder as a drive on a laptop Mounts the folder as a native network drive, in File Explorer on Windows or Finder on macOS.

Setting it up

1

Install the Localtonet app for your OS

If you followed the HTTP tunnel steps, the client is already installed on the GPU machine.

2

Go to the File Server Tunnel page

Open the File Server Tunnel page in your dashboard.

3

Select the Process Type

Choose Random Sub Domain, Custom Sub Domain or Custom Domain, the same choices available for HTTP tunnels.

4

Select the AuthToken and server

Pick the GPU machine's AuthToken and a relay server.

5

Enter the local folder path

Enter the path of your studio folder, for example a path under C:\Users\ on Windows or under your home directory on Linux and macOS. Point it at the dedicated folder, not at your whole drive or at the UI's installation directory.

6

Press Start

Start the tunnel and open the assigned address on the tablet.

The full walkthrough lives in our File Server documentation, and the guide to secure File Server tunnels explains the three sub-types in more depth.

Features that help a sketch-to-image workflow

The Default web file manager has several capabilities that map neatly onto creative iteration. These are described in our File Server feature overview:

🔐 Permissions per path Global flags for Upload, Download, Delete, Create Folder, Move and Share, plus per-path overrides where the most specific path wins. For example, allow uploads into sketches but make exports download-only. Changes apply without restarting the tunnel.
🔗 Expiring share links Public share links can carry an expiry date, a download limit and a separate link password. Useful for sending a client one approved render without exposing the folder.
🖼️ Photo gallery view Date grouping, EXIF orientation correction and lightbox navigation make it easy to flip through a batch of variations generated from the same sketch.
📂 Smart Collections Saved-query virtual folders filtered by extension, path, name or size, updated live. For instance, a collection of every PNG in exports.
🔔 File-event webhooks Upload, delete, rename and move events can trigger a webhook with an optional path filter and HMAC signing. You could notify a script whenever a new sketch lands in the folder.
🗄️ Encrypted folders and backup Per-folder AES-256-CBC encryption with a password (PBKDF2, 100,000 iterations, no recovery), and a built-in backup engine to S3-compatible storage, FTP or SFTP with a full scan every 30 minutes and a 45-second debounce on changes.

The Default file manager also has no upload size limit, a recycle bin, version history, and security defaults such as path-traversal protection, per-IP rate limiting and blocked executable extensions. These features are documented for the Default web manager. Whether encryption, Smart Collections and related features also apply to the SFTP and WebDAV sub-types is not stated in our current posts, so check before relying on them there. For customizing the file manager's title, favicon and logo, see the File Server usage guide.

Do not share the UI's output folder directly unless you mean to

Pointing File Server at the generation UI's own output directory is convenient, but it exposes every image the UI has ever produced, including discarded experiments and anything generated from confidential references. A separate folder to which you copy approved results gives you a deliberate boundary. Configure File Server permissions before you share the address.

A routine for each remote session

Once everything works, a session becomes predictable. The routine below keeps the exposure window short and avoids surprises halfway through a client deadline.

Starting a session

  1. Make sure the GPU machine is awake and its sleep settings will not suspend it mid-session.
  2. Start the generation UI and confirm it reports the expected loopback address and port.
  3. Confirm the reverse proxy is running.
  4. Make sure the Localtonet client is connected, then start the HTTP tunnel from the dashboard. Start the File Server tunnel too if you plan to move files.
  5. Open the bookmarked address on the tablet and sign in.

Working efficiently over the tunnel

The creative discipline from sketch-to-image workflows also happens to be good for network efficiency. Keep the prompt fixed while you revise the sketch, so each upload tests one compositional change. Generate small batches rather than large ones, review them, and only then iterate. Draw separate sketches for different formats, such as a wide banner and a square social post, instead of cropping one large render repeatedly. And when a product or character has to stay recognizable, upload the reference image once and reuse it rather than re-uploading it each round.

If your UI supports a preview mode that sends low-resolution previews during generation, keep in mind that previews add traffic on the progress channel. On a slow mobile connection, reducing or disabling previews in the UI's settings, if it offers that option, can make the interface feel more responsive.

Ending a session

  1. Copy approved renders into the shared exports folder if you use File Server.
  2. Stop the HTTP tunnel. Stop the File Server tunnel too unless someone still needs it.
  3. Optionally stop the UI to free GPU memory for other work.
  4. Delete tunnels you will not reuse, so old addresses do not linger in your dashboard.

Getting notified about disconnects

If you leave a long batch running and walk away, it helps to know when the machine drops offline. Our platform-wide Token and Tunnel webhooks fire when a token or tunnel in a selected Token Group changes to Connected or Disconnected. The webhook POSTs a JSON body containing an Id (the tunnel id or authtoken), ActionDate, Type ("Token" or "Tunnel") and Status ("Connected" or "Disconnected"). You can point it at a chat integration or a small script. Details are in the Localtonet webhook documentation. These webhooks are separate from File Server's file-event webhooks.

Comparing access options

An HTTP tunnel with an authenticating proxy is the most flexible option for drawing from any network, but it is not the only one. This table summarizes the trade-offs.

Approach Best for Trade-offs
HTTP tunnel straight to the UI Not recommended Anyone with the address can use your GPU and read outputs if the UI lacks authentication. Only consider it if the UI has its own verified login and you accept the risk.
HTTP tunnel to an authenticating proxy Drawing from any network on a tablet or phone Public HTTPS address with no router changes. You maintain the proxy configuration and credentials.
File Server tunnel for assets Moving sketches, references and renders; sharing results Does not run generations itself. Complements the UI tunnel with permissions and share links.
VPN Manager Devices you control that can join a private mesh network Our free private mesh VPN with granular firewall rules keeps the UI off the public internet. Every device must be part of the VPN.
Router port forwarding Users who control their router and have a reachable public IP Not available behind many ISP NAT setups, exposes a port on your home IP, and still requires authentication and HTTPS that you must set up yourself.

For the VPN route, see our article on VPN Manager as a free private mesh network. Standard HTTP tunnels are not a VPN; they publish one service at one address.

Troubleshooting

Most problems in this setup come from the reverse proxy or the UI rather than the tunnel. The table below lists the symptoms we see most often in this kind of architecture and where to look first.

Symptom Likely cause What to check
Public address does not load at all Tunnel not started, client disconnected, or machine asleep Confirm the tunnel shows as running and the device is connected in the dashboard. Creating a tunnel does not start it.
Error page instead of the password prompt Proxy not running or tunnel pointing at the wrong port Open 127.0.0.1:8080 locally. Make sure the tunnel's local IP and port match the proxy's listen line.
UI loads but progress never moves WebSocket upgrade not forwarded Confirm the proxy_http_version, Upgrade and Connection lines. Look for a 101 response in developer tools.
Progress works, then stops during long jobs Proxy read timeout too short for idle periods Increase proxy_read_timeout to exceed your slowest generation. Check whether the tablet's browser was backgrounded or the screen locked.
Sketch upload fails with HTTP 413 Proxy request body limit Raise client_max_body_size and reload nginx.
403 or "forbidden" responses only via the proxy or tunnel The UI validates Host or Origin headers Compare behavior with and without proxy_set_header Host. Check your UI's current documentation for settings governing allowed origins or cross-origin requests rather than disabling protections blindly.
Works on home Wi-Fi, slow on mobile data Upload bandwidth on the tablet's network Export smaller sketches, reduce batch sizes, reduce live previews if the UI allows it.
Generation errors or out-of-memory messages UI or model issue, not networking Reproduce locally on the GPU machine. Read the UI's console log.

Repeated password prompts

If the browser keeps asking for credentials, the most likely cause is a wrong path in auth_basic_user_file or a file nginx cannot read. Check the nginx error log. On some mobile browsers, saved basic-auth credentials are cleared when private browsing tabs close, so use a regular tab with a bookmark if you want the prompt less often.

Images display but downloads fail or are truncated

Retest the download through 127.0.0.1:8080 on the GPU machine. If it works locally, try again from the tablet on a different network. Persistent truncation that only appears remotely is worth checking against our HTTP tunnel documentation and reporting with the time of the failure and the file size, without including your token.

Custom node or extension features misbehave remotely

Some UI extensions make assumptions about running on localhost, for example by calling absolute http://127.0.0.1 URLs from the browser. Those calls will fail from the tablet because the tablet's own loopback address is not your GPU machine. This is a limitation of the extension, not the tunnel. Check whether the extension offers a setting for its base URL or look for an alternative.

Frequently asked questions

Do I need to open ports on my router to use my home GPU from a tablet?

No. The Localtonet client on the GPU machine makes an outbound connection to a Localtonet relay server, and the tunnel provides a public HTTPS address. You do not need inbound port forwarding, firewall changes for inbound traffic, a VPN, or a public IP address.

Is a random subdomain secure enough without a password?

No. A random subdomain makes the address harder to guess, but it is not access control. Addresses leak through browser sync, screenshots and shared links. Put an authenticating reverse proxy or another access control in front of the UI before starting the tunnel.

Should I make ComfyUI listen on all interfaces for remote access?

Not for this setup. The reverse proxy and the Localtonet client run on the same machine, so the UI can stay bound to loopback. That prevents other devices on your network from bypassing the proxy. Confirm your UI's current listen options in its official documentation.

Why does the UI load remotely but the progress bar never moves?

Progress in UIs such as ComfyUI is typically delivered over a WebSocket. If the reverse proxy does not forward the upgrade headers, the page works but the live channel fails. Add the HTTP/1.1 and Upgrade/Connection configuration shown in this guide, then verify a 101 response in the browser's developer tools.

What happens if my GPU machine goes to sleep during a session?

The tunnel is available only while the client device is connected and the tunnel is running. If the machine sleeps, the public address stops responding. Adjust power settings before long sessions, and consider a Token or Tunnel webhook to get notified when the device disconnects.

Can I use File Server instead of the generation UI's built-in image browser?

For organizing and sharing files, yes. A File Server tunnel publishes a folder with a browser file manager, gallery view, per-path permissions and expiring share links. It does not run generations, so you still need the HTTP tunnel for the UI itself.

Does this work with UIs other than ComfyUI?

The architecture applies to any browser-based generation UI that serves HTTP on a local port. The ports, listen options, upload paths and authentication features differ between projects, so read each project's documentation and confirm its startup output before configuring the proxy and tunnel.

Is there a way to avoid a public address entirely?

If both the tablet and the GPU machine are devices you control, our VPN Manager provides a private mesh network with granular firewall rules. The UI is then reachable over the private network rather than through a public HTTPS address. Keep authentication in place anyway as defense in depth.

Start with Localtonet

Put an authenticating proxy in front of your sketch-to-image UI, publish it with an HTTP tunnel, and draw from your tablet while your home GPU does the rendering. Stop the tunnel when the session ends.

Get Started Free →

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.

Support