Skip to content

Match Every Local Service to the Right Tunnel Type

Inventory each host, port and protocol, then map it to HTTP, TCP, UDP, TLS, File Server, Proxy or VPN Manager tunnels with Localtonet before exposing anything.

Summary in your language
In this article 10 sections
Home-lab devices on a desk with an overlaid inventory listing each device's host, port and protocol
Each local service gets one inventory line before any tunnel is created.
Guides · Choose Tunnel Type · Localtonet · 2026

Write down every host, port and protocol first. Then choose HTTP, TCP, UDP, TLS, File Server, Proxy or VPN Manager for each line.

Most remote access failures come from an incomplete list of what needs to be reachable, not from the tunnel. Common examples are a forgotten UDP port, an API on a second host, or a folder that was shared over HTTP when the user wanted it mounted as a drive. In this guide we build an exposure inventory one line at a time. We then match each line to one of the tunnel families documented on our platform. You will also see what the self-managed alternative involves, how to verify each line before and after exposure, and a per-line security checklist to finish the plan. We make no pricing or plan claims here. Confirm which options your plan includes in the Localtonet dashboard.

🔒 Expose only what is on the inventory, nothing more 🌐 HTTP/s, TCP, UDP, UDP/TCP, TLS, File Server, Proxy, VPN Manager ⚡ One line per service, one tunnel decision per line

Why an inventory comes before any tunnel

When people ask how to expose a local service, they usually picture one service: a web app on a laptop, a game server on a home PC, or a folder they want to reach from a phone. Real setups rarely have only one moving part. A web frontend calls an API. The API may run on another machine on the LAN. A game server may need both TCP and UDP. A Network Attached Storage share may be wanted in a browser on one day and as a mounted drive in a file manager the next. A remote option can look simple only because half of the requirements were never written down.

You can avoid most of this with an ordinary list. Before creating anything, write one line for every service that must be reachable from outside your network. Each line records the host, the port, the protocol, who needs access, and why. Only after the list exists do you decide how each line is published. With Localtonet, that decision means picking one of our documented tunnel families. Each family behaves differently. HTTP tunnels give you a public HTTPS address. Raw TCP and UDP tunnels give you a public host and port. File Server publishes a folder instead of a port. Proxy tunnels make your device the exit node. VPN Manager builds a private mesh network rather than publishing anything to the open internet.

The list also works as a security control. Anything that is not on it should not be reachable. Each line on it should have a named owner, an access method, and a plan for when it gets switched off. The rest of this guide follows that order: inventory, mapping, setup, verification, and security review.

Build the exposure inventory, one line per service

An inventory line is the smallest unit you can expose, verify, and later remove on its own. If two things can fail independently, they belong on separate lines. A web app and its API are two lines, even if you start them with one command. A game server that listens on TCP and UDP is either one line marked "TCP+UDP" or two lines, but the protocols must be written down explicitly.

The columns every line needs

Column What to record Why it matters
Service name A human label such as "Staging web UI" or "Home SSH" Gives each tunnel a clear owner and purpose when you review it later
Host The IP address the service listens on, for example 127.0.0.1 or a LAN address such as 192.168.1.20 Our client forwards to a local IP and port on, or reachable from, the device running it, so the host decides which device runs the client
Port The actual listening port, checked on the machine rather than remembered A wrong port is the most common reason a freshly started tunnel returns nothing
Protocol HTTP(S), raw TCP, UDP, both TCP and UDP, or "folder" / "proxy" / "LAN link" Protocol is the main input for choosing the tunnel family
Client type Browser, SSH client, game client, SFTP tool, OS file manager, application proxy settings Decides whether a URL, a host and port, a mounted drive, or a proxy endpoint is the right result
Audience You only, a named team, a customer, the general public Drives authentication and restriction choices in the security checklist
Duration A one-hour demo, a week of testing, or ongoing Tells you when to stop or delete the tunnel
Dependencies Other lines this service calls: APIs, databases, auth callbacks, WebSocket endpoints Catches the second backend host that otherwise only appears when remote users report errors

Find what is actually listening

Do not rely on memory or on a project README for ports. Ask the operating system. These are standard OS commands, not Localtonet commands, and they list listening sockets along with the owning process where permissions allow it.

On Linux:

sudo ss -tulpn

On macOS (TCP listeners, then UDP sockets):

sudo lsof -iTCP -sTCP:LISTEN -n -P
sudo lsof -iUDP -n -P

On Windows, from an elevated Command Prompt or PowerShell:

netstat -ano

Pay attention to the address column. A service bound to 127.0.0.1 is reachable only from the same machine, so our client must run on that machine. A service bound to 0.0.0.0 or to a specific LAN address can also be reached from other devices on the network. In that case the client can run on a different device that can route to it, such as an always-on mini PC. Compare the output against what you expected and add any service you forgot. Also note any listener you did not expect at all. Unexpected listeners are worth investigating whether or not you plan to expose them.

A sample inventory

Here is a realistic mixed list for a small team or homelab. We will map it to tunnel families in a later section.

#  Service              Host            Port   Protocol   Client            Audience     Duration
1  Staging web UI       127.0.0.1       5173   HTTP       Browser           Client team  2 weeks
2  Staging API          127.0.0.1       8000   HTTP       Called by line 1  Client team  2 weeks
3  Admin SSH            127.0.0.1       22     TCP        SSH client        Me only      Ongoing
4  Game server          192.168.1.40    (game) TCP+UDP    Game client       Friends      Weekends
5  Metrics collector    127.0.0.1       (app)  UDP        Agents            Lab devices  Ongoing
6  Project documents    /srv/projects   n/a    Folder     Browser + SFTP    Team         Ongoing
7  Phone as exit node   n/a             n/a    Proxy      App proxy config  Me only      As needed
8  Office to home LAN   two LANs        n/a    LAN link   Any LAN device    Two sites    Ongoing

Notice that lines 6, 7 and 8 have no port at all. That is expected. Some needs are not "publish this port" problems, and they map to File Server, Proxy, and VPN Manager instead of raw port tunnels.

The documented Localtonet tunnel families at a glance

Our documentation groups tunnels into these categories: HTTP/s, TCP, UDP, TLS, combined UDP/TCP, File Server, Proxy Server (HTTP and SOCKS5), and VPN Manager. They share one model. The Localtonet client on your device opens an outbound connection to a Localtonet relay server. The resulting tunnel provides a public URL or a public host and port. No inbound port forwarding, router changes, or public IP are needed. The families differ in what they point at and what the remote user receives.

🌐 HTTP/s tunnel Points to a local IP and port running a web service. Serves it at a public HTTPS address. The Process Type can be Random Sub Domain, Custom Sub Domain, or Custom Domain.
🔌 TCP and UDP tunnels Point to a local IP and port. The remote side receives a public host and port, which suits non-HTTP services such as SSH or game servers. A combined UDP/TCP type exists for services that use both.
🔐 TLS tunnel A documented tunnel type that also points to a local IP and port. Read the current documentation for its exact behavior before choosing it over HTTP or TCP.
📁 File Server Publishes a local folder path instead of a port. Its sub-types are Default (browser file manager), SFTP (standard SFTP clients and automation), and WebDAV (mount as a network drive).
🧭 Proxy Server HTTP and SOCKS5 proxy types turn the connected device into the proxy exit node. They do not forward to a conventional local IP and port.
🕸️ VPN Manager A private mesh VPN with granular firewall rules that can bridge local LANs. This is our actual VPN feature. Standard tunnels are not a VPN.
Created is not the same as running

On our platform, creating a tunnel does not make it live. You start it with the Start button, and you can later stop or delete it. A tunnel is reachable only while the selected client device is connected and the tunnel is running. If the laptop sleeps or the client exits, every line served by that device goes offline. Plan where each client runs with that in mind.

Map each inventory line to the right tunnel type

Diagram linking five inventory lines to HTTP, TCP, UDP, TLS and File Server tunnel types, with Proxy and VPN Manager shown separately
One inventory line maps to one tunnel family based on its protocol.

With the inventory in hand, decide each line on its own using a few questions. What does the remote client speak? What does it expect to receive: a URL, a host and port, a mounted drive, a proxy endpoint, or LAN membership? The table below summarizes the mapping. The subsections after it explain the reasoning for each family.

Inventory line looks like Candidate tunnel family What the remote user receives
Web app, dashboard, REST API, webhook receiver opened in a browser or called over HTTP HTTP/s A public HTTPS address on a random subdomain, chosen subdomain, or custom domain
SSH, database client connections, game server over TCP, any non-HTTP TCP protocol TCP A public host and port
UDP-only listener such as some game servers, telemetry collectors, or voice services UDP A public host and port for UDP traffic
Service that needs both TCP and UDP on the same logical endpoint Combined UDP/TCP A public host and port covering both protocols
TLS-wrapped service where you need the documented TLS tunnel behavior TLS (confirm behavior in current docs) A public endpoint pointing to your local IP and port
Folder you want to browse, share, or sync without running a web server File Server (Default, SFTP, or WebDAV) A browser file manager, an SFTP endpoint, or a WebDAV mount
You want traffic to leave the internet from a specific device Proxy Server (HTTP or SOCKS5) A proxy endpoint whose exit node is your device
Several devices or whole LANs need to talk privately to each other VPN Manager Membership in a private mesh network governed by firewall rules

HTTP/s lines: web apps, APIs and webhook receivers

If the remote client is a browser, or a program that makes HTTP requests, the HTTP/s tunnel is usually the right fit. The result is a normal HTTPS address that works in any browser and that you can paste into a webhook configuration on a third-party service. You choose a Process Type. Random Sub Domain generates an address. Custom Sub Domain lets you pick one where supported. Custom Domain lets you serve the same content on your own domain. All three serve the same content at a public HTTPS address. DNS requirements for custom domains can change, so follow the current Localtonet documentation for that step rather than any generic instructions.

One HTTP line per HTTP service is the safest default. If your frontend and API run on different ports, as lines 1 and 2 do in the sample, you need to decide whether the API gets its own tunnel or whether the frontend's dev server or reverse proxy already forwards API calls internally. Either works. The problems start when nobody makes that decision. The Localtonet HTTP tunnel documentation covers the exact configuration fields.

TCP lines: SSH, databases and other raw protocols

Many services do not speak HTTP. SSH, most database wire protocols, RDP's baseline transport, and many game servers use raw TCP. Putting an HTTP tunnel in front of them does not work, because the remote client expects to open a socket to a host and port, not to request a URL. A TCP tunnel points to the local IP and port and gives the remote side a public host and port to connect to. The remote user then enters that host and port into their SSH client, database tool, or game client.

Think hard before exposing database ports. A database that was only ever reachable from 127.0.0.1 often has weak or default credentials, because no one expected it to face the internet. If the real need is "my API needs to reach the database", the database probably does not need a tunnel at all. Only the API does.

UDP and combined UDP/TCP lines

UDP is connectionless and is common for latency-sensitive traffic such as game servers, voice, streaming and some telemetry. A service that listens on UDP will not answer over a TCP tunnel, and the failure looks confusingly like "the server is down". Use a UDP tunnel for UDP-only listeners. When a service uses both protocols on the same port, which some game servers and remote desktop setups do, use the combined UDP/TCP type. Many client applications fall back to TCP when UDP is unavailable, so a TCP-only tunnel can appear to work while delivering a degraded experience. Write the protocol column carefully and check it with the listening-socket commands shown earlier.

TLS lines

The TLS tunnel is a documented family that, like HTTP, TCP and UDP, points to a local IP and port. This guide does not specify how it handles certificates or termination compared with the HTTP/s type, because those details belong in the current documentation and may differ from what you assume. If a line in your inventory involves a TLS-wrapped protocol and you are unsure whether HTTP/s, TCP or TLS fits, read the TLS documentation first and test with a non-production endpoint.

File Server lines: folders, not ports

Sharing files is a common reason people try to expose a port, often by starting an ad hoc web server in a directory. File Server removes that step. It publishes a local folder path directly, and you pick a sub-type based on how the remote side will use the files.

Sub-type Best for Behavior
Default People who open files in a browser, share links, or back up photos from a phone A browser-based file manager. Nobody needs to install a client on either side.
SFTP FileZilla, WinSCP, rsync, scripts, and CI/CD pipelines Standard SFTP compatibility for tools and automation
WebDAV Users who want the folder to appear in File Explorer on Windows or Finder on macOS Mounts the folder as a native OS network drive

The Default web file manager is the most feature-rich of the three. It supports full file operations with no upload size limit. It also offers per-folder AES-256-CBC encryption, with the key derived through PBKDF2 at 100,000 iterations. The key and the password are never stored. Only a salt and a verification hash are kept in a hidden .fsvault file, so there is no admin override or password recovery. Unlock tokens last 30 minutes. Permissions work through global flags (Upload, Download, Delete, Create Folder, Move, Share) plus per-path overrides, where the most specific path wins and changes apply without restarting the tunnel. You can create public share links with an expiry date, a download limit, and a separate link password. Other features include an Immich-compatible mobile photo backup API, Smart Collections, a cloud backup engine to S3, FTP or SFTP, and file-event webhooks with HMAC signing. Security defaults include path-traversal protection, per-IP rate limiting, blocked executable extensions with an optional allowlist mode, hidden dotfiles, and TLS terminated at the tunnel edge.

Check sub-type scope before relying on a feature

Our published material describes encryption, Immich-compatible backup and Smart Collections as features of the Default web file manager. We have not stated whether they also apply to the SFTP and WebDAV sub-types. If a line in your inventory depends on one of these features over SFTP or WebDAV, confirm it in the dashboard before you commit to that design.

If one folder needs both browser access and automation, that is two inventory lines and potentially two File Server tunnels on the same path, each with its own sub-type and access policy. For the walkthrough, see our posts on secure File Server tunnels, the Localtonet File Server feature set, and how to use File Server, along with the File Server documentation.

Proxy lines: making a device the exit node

Proxy needs are often confused with tunnel needs. A normal tunnel brings outside traffic into a service on your device. A proxy tunnel goes the other way: applications configured to use the proxy send their traffic out to the internet through your device, so your device becomes the exit node. Our Proxy Server family supports HTTP and SOCKS5 proxy types. SOCKS5 is protocol-agnostic at the application level and is widely supported by browsers and tools. HTTP proxies are the common choice for web traffic. A proxy tunnel has no local IP and port target in the inventory sense, which is why line 7 in our sample has no port. Our blog also covers rotating proxy and Wi-Fi Split use cases with a mobile device as the exit node, if that matches your need.

VPN Manager lines: LAN-to-LAN and device-to-device links

Some inventory lines describe a private network rather than a list of ports, for example "every device at the office should reach the file server and printer at home". You could publish each of those services through its own tunnel, but then you would publish to the internet things that only two sites ever needed. VPN Manager is our private mesh VPN with granular firewall rules, and it can bridge local LANs. Devices join a private network, and the firewall rules decide which device can reach which. If you find yourself writing a long list of internal-only lines that serve the same small group of devices, VPN Manager is likely the better fit. Read more in our VPN Manager overview.

A tunnel is not a VPN

HTTP, TCP, UDP and File Server tunnels publish a specific service at a public address. They do not put remote users on your network. Only VPN Manager provides VPN functionality on our platform. Do not describe a port tunnel as "secure VPN access" to colleagues, because that sets the wrong expectation about who can reach it.

A note on AI agent and MCP endpoints

Teams that run AI tooling may have inventory lines for Model Context Protocol endpoints. We have published guides on exposing a locally running McpNet Gateway. We also offer a Localtonet MCP Server that lets AI coding assistants such as Claude Code create, start and stop Localtonet tunnels. Confirm the current naming and availability of MCP-related tunnel options in the dashboard, because they are not part of the main documentation menu. The same inventory discipline applies: an agent that can create tunnels should work against an explicit list of what it is allowed to expose.

The sample inventory, mapped

#  Service              Tunnel family              Notes
1  Staging web UI       HTTP/s                     Custom Sub Domain if available, for a stable address
2  Staging API          HTTP/s (or internal)       Own tunnel, or proxied by line 1's dev server; decide explicitly
3  Admin SSH            TCP                        Key-based auth only; stop when not in use
4  Game server          Combined UDP/TCP           Client runs on a LAN device that can reach 192.168.1.40
5  Metrics collector    UDP                        Restrict which agents send; validate payloads
6  Project documents    File Server Default + SFTP Two lines, two policies on the same folder
7  Phone as exit node   Proxy Server (SOCKS5)      Only you configure it; stop when finished
8  Office to home LAN   VPN Manager                Firewall rules per device, not public tunnels

Omissions that make remote access fail

Most "the tunnel does not work" reports turn out to be inventory gaps. These are the gaps we see most often, and they all share a pattern: something that worked locally depended on a fact nobody wrote down.

The forgotten UDP port

A game or voice server is exposed through a TCP tunnel. The connection seems to start and then stalls, or the client reports a timeout. The server was using UDP for the main traffic all along. The fix is to check the listening sockets, update the protocol column, and use a UDP or combined UDP/TCP tunnel. The local test passed only because both protocols worked fine on the LAN.

The second backend host

A frontend is published over HTTP/s and loads fine remotely, but every data request fails. Its configuration points the API at http://localhost:8000. On your machine that address is the API. On the remote user's machine it is their own computer, where nothing is listening. You have two options. Publish the API as its own line and point the frontend at the API's public address. Or route API calls through the frontend's server so the browser never contacts localhost directly. The dependencies column in the inventory exists to catch exactly this case. The same failure appears with authentication callback URLs, CORS allow-lists, and hardcoded asset hosts.

The WebSocket or streaming path

Modern apps often use a WebSocket or another long-lived connection for live updates, hot reload, or chat. The page loads, but live features silently stop working. Record WebSocket endpoints as dependencies, including the path and port, because they sometimes run on a different port than the page itself. Then test them through the tunnel during verification rather than assuming they work. This guide does not make specific claims about WebSocket handling per tunnel type, so treat this as something you test, not something you take for granted.

The service bound to the wrong interface

Our client forwards to a local IP and port that must be reachable from the device running the client. If the service listens only on 127.0.0.1 and the client runs on a different device, the tunnel starts but cannot reach the target. Either run the client on the same machine, or configure the service to listen on a LAN address and check the host firewall on that machine.

The folder that needed a mount, not a page

A user is given a browser link to a folder, but their workflow expects the folder to appear in Finder or File Explorer, or a backup script expects SFTP. The File Server line was right, but the sub-type was wrong. Write the client type column (browser, SFTP tool, OS file manager) and pick Default, SFTP or WebDAV from it.

The device that goes to sleep

Everything works during setup, then fails overnight. A tunnel is available only while its client device is connected and the tunnel is running. Laptops sleep, desktops reboot for updates, and phones kill background apps. For an "Ongoing" line, run the client on a device that stays on. Our platform-wide Token/Tunnel webhooks can notify your own endpoint when a token or tunnel changes to Connected or Disconnected. The webhook documentation describes the JSON body, which includes Id, ActionDate, Type and Status.

What the self-managed alternative requires per line

Comparison of the per-service tasks for self-managed exposure versus a single Localtonet tunnel
Self-managed exposure repeats several network tasks for every inventory line.

The traditional way to expose a home or office service is to accept inbound connections directly. That approach is valid and sometimes the right choice. However, a fair comparison has to count every component for every line, not just "open a port". Here is what a typical self-managed setup involves. These are general networking requirements, not Localtonet claims.

Component Self-managed approach With a Localtonet tunnel
Reachable address A public IPv4 address, or IPv6 the remote clients can use. Carrier-grade NAT can make inbound access impossible without ISP help. Dynamic IPs need dynamic DNS. Not needed. The client connects outbound to a relay server, which provides the public URL or host and port.
Router configuration An inbound port forwarding rule per exposed port and protocol, kept in sync when internal IPs change No inbound router port forwarding
Firewall Inbound allow rules on the router and the host, per port and protocol No inbound firewall changes for the tunnel itself. Host-level hardening is still your responsibility.
HTTPS for web lines A reverse proxy, certificates for each hostname, and automated renewal HTTP/s tunnels serve content at a public HTTPS address
Multiple web apps on one IP Host-based routing in the reverse proxy and DNS records per hostname One HTTP/s tunnel per service, each with its own address and Process Type
Raw TCP/UDP services A forwarded port per service, so the service faces internet-wide scanning on that port TCP, UDP or combined UDP/TCP tunnels give a public host and port while the tunnel is running
Turning access off Remove forwarding rules and firewall entries, and remember to do it Stop or delete the tunnel from the dashboard

The comparison only works when you apply it line by line. Exposing one HTTPS app with a self-managed reverse proxy can be manageable. A mixed inventory with a web app, an API, a TCP service, a UDP service and a file share multiplies the forwarding rules, firewall entries, certificate names and cleanup tasks. A missing line in the self-managed plan becomes a missing firewall rule that someone discovers in production. Whichever route you choose, complete the inventory first so you are comparing the same scope.

No outbound tunnel replaces authorization

Publishing a service through a tunnel does not bypass, replace or add authorization to that service. Our client changes how traffic reaches the service, not who is allowed to use it. Every line still needs authentication that suits its audience, which the security checklist below covers.

Create and start a tunnel for each inventory line

Once every line has a tunnel family, set the lines up one at a time. Expose a line, verify it, then move to the next. When something fails, you then know exactly which line caused it. The general workflow on our platform is the same for every family. Only the target differs: a local IP and port, a folder path, a proxy exit node, or a VPN configuration.

1

Install and run the Localtonet client on the right device

Use the host column to choose the device. It must be able to reach the local service. If the service listens only on 127.0.0.1, that means the same machine. For "Ongoing" lines, pick a device that stays powered on and connected.

2

Authenticate and select the device with its token

Each device is identified by its own auth token. Tokens are device-specific, so keep them private. Do not paste them into tickets, chat or shared notes.

3

Select an available relay server or region

Choose from the servers listed in your dashboard. Available values depend on the current product and your account, so take them from the dashboard rather than from an article.

4

Create the configuration that matches the inventory line

Pick HTTP, a raw port type (TCP, UDP, combined UDP/TCP, TLS), File Server, a proxy type, or VPN Manager. Enter the local IP and port, folder path, or other target exactly as recorded and checked in the inventory.

5

Start the tunnel and use the assigned public URL or host and port

Creating a tunnel does not start it. Press Start, then copy the public URL or host and port into the inventory line so you have a record of what is exposed where.

6

Stop or delete the tunnel when it is no longer needed

Use the duration column. Stop demo and testing tunnels when the session ends, and delete them when the project ends.

The documented File Server flow

For File Server lines, the documentation describes this specific sequence. Note that File Server takes a folder path instead of an IP and port.

1

Install the Localtonet app for your operating system

Install it on the machine that holds, or can access, the folder you want to publish.

2

Go to the File Server Tunnel page

Open the File Server Tunnel page in the dashboard.

3

Select the Process Type

Choose Random Sub Domain, Custom Sub Domain, or Custom Domain for the public HTTPS address.

4

Select the AuthToken and server

Pick the device token for the machine that has the folder, and an available server.

5

Enter the local folder path

For example C:\Users\Work on Windows, or /root or /usr/share on Linux and macOS. Publish the narrowest folder that serves the inventory line, not an entire drive.

6

Press Start

The folder is now served at the public address until you stop the tunnel.

Options vary by plan

Not every tunnel type, option, Process Type or server is necessarily included in every subscription plan. Before you finalize the mapping, check in the dashboard that each family and option your inventory relies on is available to your account.

Verify every line locally, then remotely

Localtonet console showing HTTP, TCP and UDP tunnels connected to 127.0.0.1 with OK status
Each row should show the expected protocol, local port and an OK status before remote testing.

Verify each line in two stages. Local verification shows that the service works on the device that runs the client. Remote verification shows that the tunnel and the service work together from outside your network. If the local check fails, the tunnel is not the problem.

Local checks before exposure

For HTTP lines, request the service from the client device using the exact host and port in the inventory:

curl -I http://127.0.0.1:5173

A status line such as HTTP/1.1 200 OK, or a redirect, means the service answers. "Connection refused" means nothing is listening on that address and port. Return to the listening-socket check.

For TCP lines, test that the port accepts connections from the client device. With SSH, simply connect locally:

ssh -p 22 youruser@127.0.0.1

For a TCP service on another LAN host, a quick reachability test from the client device helps. The nc (netcat) utility is commonly available on Linux and macOS:

nc -vz 192.168.1.40 PORT

UDP is harder to test generically, because UDP has no handshake and a silent result does not prove anything. The most reliable local test is the service's own client: join the game, send a test metric, and so on. For File Server lines, confirm that the folder path exists and that the account running the client can read it, and write to it if uploads are expected.

Remote checks after starting the tunnel

  • Test from outside your network. Use a phone on mobile data or a machine on a different network. Testing from inside the LAN can hide problems.
  • HTTP lines: open the public HTTPS address in a private browser window. Click through the features that use dependencies such as API calls, login callbacks and live updates. Check the browser developer tools Network tab for requests that still go to localhost or a LAN address.
  • TCP lines: connect with the real client (SSH, database tool, game client) using the public host and port the dashboard assigned.
  • UDP and combined lines: use the real application and confirm that the features depending on UDP actually work, not only the initial connection.
  • File Server lines: test the exact client type from the inventory. That means a browser for Default, an SFTP tool or script for SFTP, and a mount from File Explorer or Finder for WebDAV. Confirm that permissions behave as intended, for example that a read-only user cannot delete.
  • Proxy lines: configure the application to use the proxy endpoint and confirm that its traffic exits through your device.
  • VPN Manager lines: from each member device, confirm it can reach what the firewall rules allow and cannot reach what they deny.

Quick troubleshooting by symptom

Symptom Likely inventory gap What to check
Public address does not respond at all Tunnel created but not started, or client device offline Press Start. Confirm the client is running and connected on the selected device.
Tunnel is running but the service is unreachable Wrong host or port, or service bound to 127.0.0.1 on a different device Repeat the local check from the client device using the exact target values
Page loads but data or login fails Undocumented dependency such as an API on localhost or an auth callback URL Browser Network tab. Add the dependency as its own line or route it internally.
Connection starts then stalls or degrades UDP traffic missing from a TCP-only mapping Listening sockets for UDP. Switch to UDP or combined UDP/TCP.
Users cannot use files the way they expect Wrong File Server sub-type for the client type Match Default, SFTP or WebDAV to browser, tool or OS mount
Works in the daytime, fails overnight Client device sleeps, reboots or loses its connection Move "Ongoing" lines to an always-on device. Consider Token/Tunnel webhooks for Disconnected alerts.

Per-line security checklist

Run this checklist against every inventory line before you start its tunnel, and again whenever you review the inventory. The goal is that each exposed line has exactly the reach its audience needs and no more.

1. Authentication suited to the audience

  • Public-facing web lines need the application's own login, and default accounts must be disabled. A development server with no authentication should not be exposed beyond a short, supervised demo.
  • SSH lines should use key-based authentication with password login disabled, and the root login should be restricted.
  • Database lines should be avoided where possible. If one is unavoidable, use a dedicated, least-privileged database user with a strong credential.
  • File Server Default lines can use the documented permission model, per-folder encryption passwords, and share links with expiry dates, download limits and separate link passwords.

2. Least privilege per line

  • Publish the narrowest target: a single port rather than a range, and a project folder rather than a home directory or whole drive.
  • On File Server, turn off global flags such as Delete or Move unless the line requires them. Use per-path overrides to grant extra rights only where needed. Changes apply without restarting the tunnel.
  • Run the client and the services under accounts that have only the file and network access the line needs.
  • For VPN Manager, write firewall rules that allow specific device-to-device access rather than everything to everything.

3. IP and access restrictions

Where your audience is a known group, restrict who can connect. Restrictions can live in the application itself (allow-lists, SSH AllowUsers, database host rules), on the host firewall for traffic from LAN sources, or in tunnel-level controls if your dashboard offers them for that tunnel type and plan. We do not list specific tunnel-level restriction options in this guide, so check the dashboard for what applies to each family. File Server already includes per-IP rate limiting, path-traversal protection, blocked executable extensions with an optional allowlist mode, and hidden dotfiles by default.

4. Protect tokens and addresses

  • Never share device auth tokens. Each one identifies a specific device and must stay private.
  • Treat raw host-and-port endpoints as discoverable. An obscure port number is not access control.
  • When an HTTP or File Server line should have a stable, recognizable address, use a Custom Sub Domain or Custom Domain where available. Then users are less likely to trust lookalike links.

5. Monitoring and lifecycle

  • Use platform Token/Tunnel webhooks to receive Connected and Disconnected events for tunnels in a Token Group. That lets you notice unexpected drops or unexpected reconnects.
  • For File Server, file-event webhooks on upload, delete, rename and move, optionally filtered by path and HMAC-signed, give you an audit trail on sensitive folders. Keep these two webhook systems separate in your tooling, because they report different things.
  • Stop tunnels when a session ends, and delete them when the inventory line is retired. A stopped tunnel is not reachable. A deleted one cannot be accidentally restarted.
  • Review the inventory on a schedule. Any running tunnel without a matching inventory line should be stopped and investigated.
Encryption passwords cannot be recovered

If you enable File Server per-folder encryption, keep the folder password in a password manager. The key and password are never stored, and there is no admin override or recovery. Losing the password means losing access to that encrypted folder.

Frequently asked questions

Should I use an HTTP tunnel or a TCP tunnel?

Base the choice on the remote client. If it is a browser or an HTTP client calling a URL, use HTTP/s, which serves the service at a public HTTPS address. If the client connects to a host and port with a non-HTTP protocol, as SSH, database tools and many game clients do, use TCP. The TCP tunnel gives the remote side a public host and port.

How do I know whether my service needs UDP, TCP, or both?

Check the listening sockets on the machine with ss -tulpn on Linux, lsof on macOS, or netstat -ano on Windows, and note the protocol for each port the service owns. If it listens on TCP and UDP for the same function, use the combined UDP/TCP tunnel type. If it listens only on UDP, use a UDP tunnel.

SFTP or WebDAV: which File Server sub-type should I pick?

Pick SFTP when tools or automation will use the folder, such as FileZilla, WinSCP, rsync or CI/CD jobs. Pick WebDAV when people want the folder mounted as a network drive in File Explorer or Finder. Pick Default when people will use a browser, need share links, or want features documented for the web file manager such as encryption and photo backup.

When should I use VPN Manager instead of individual tunnels?

Use VPN Manager when a known set of devices or LANs needs private access to each other, for example bridging an office and a home network. Individual tunnels publish specific services at public addresses. VPN Manager creates a private mesh with granular firewall rules, so nothing in that line has to be published publicly.

What is the difference between a tunnel and a SOCKS5 proxy exit node?

A tunnel brings outside traffic in to a local service. A proxy tunnel lets applications send their traffic out through your connected device, which becomes the exit node. Our Proxy Server family supports HTTP and SOCKS5 types, and neither forwards to a conventional local IP and port.

Can the Localtonet client forward to a service on another machine in my LAN?

Yes, if that machine is reachable from the device running the client. Local targets point to an IP and port on, or reachable from, the client device. The service must listen on a LAN address rather than only 127.0.0.1, and its host firewall must allow the connection from the client device.

Why is my tunnel not reachable even though I created it?

A created tunnel is not running until you press Start. It also stays reachable only while the selected client device is connected. Check both first. If both are fine, repeat the local check against the exact IP and port from the client device.

Are all tunnel types available on every plan?

You should not assume they are. Options, Process Types and servers can differ by plan. Check in the dashboard that every family and option your inventory needs is available on your account before you finalize the plan.

Turn your inventory into running tunnels

Once every host, port and protocol is listed and mapped, create one tunnel per line in the Localtonet dashboard. Use HTTP/s for web apps, TCP or UDP for raw services, File Server for folders, Proxy for exit nodes, and VPN Manager for private LAN links. Start each line, verify it, and stop it when it is no longer needed.

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