
Build a connectivity layer that can change as quickly as your locations, applications, teams, and devices
Business connectivity becomes difficult when every new service requires a public IP address, an inbound firewall rule, or a site-specific router change. An outbound tunnel changes that dependency by letting a client inside the private environment establish the connection to a relay. In this guide, we explain how to classify workloads, select an appropriate access model, deploy Localtonet tunnels, govern public exposure, monitor connection state, and safely retire temporary access. The goal is not to place every system on the public internet, but to give each workload the narrowest connectivity model that supports its users and protocol.
📋 What's in this guide
Why outbound tunnels support adaptable business connectivity
A traditional inbound publishing workflow starts at the network perimeter. The network team identifies the destination device, assigns or discovers an address, configures port forwarding, adjusts firewall policy, and gives an external user a public address. That can be appropriate for stable production infrastructure, but it becomes cumbersome when the destination is a developer laptop, a small office server, an edge device, a temporary event environment, or a system behind carrier-grade NAT.
The problem is not simply that router administration takes time. The larger issue is coupling. Service availability becomes coupled to a particular router, public address, location, and inbound network policy. Moving the service to another office or replacing its internet connection can force the organization to rebuild that publishing configuration.
With an outbound tunnel, a client running on the device, or on another device that can reach the service, establishes an outbound connection to a relay. External traffic arrives at the assigned public URL or public host and port, then travels through the active tunnel to the selected local target. The private-side router does not need an inbound port-forwarding rule, and the site does not need a public IP address for this workflow.
With Localtonet, our client establishes that outbound connection to a Localtonet relay server. The tunnel is available only while the selected client device is connected and the tunnel is running. This lifecycle property is central to the design. A saved tunnel definition is not itself an active path, and stopping the tunnel removes its availability without requiring the local service to be uninstalled.
Outbound does not automatically mean private
It is important to separate the direction used to establish a tunnel from the audience that can reach its public endpoint. The Localtonet client connects outward, but an HTTP tunnel, raw port tunnel, or File Server tunnel can still create an internet-reachable endpoint. Removing inbound router configuration does not remove the need for application authentication, authorization, careful target selection, and ongoing review.
Do not expose a service merely because it can be reached through a tunnel. Confirm that the application is intended for remote access, uses appropriate authentication, limits user permissions, and does not reveal an administrative interface or sensitive data to unauthorized users. Follow your organization's network and security policies.
Use tunnels as a connectivity layer, not a universal replacement
Outbound tunneling is especially useful for targeted service publication, protocol forwarding, temporary integrations, remote demonstrations, edge devices, and systems behind restrictive address translation. It does not eliminate every reason to use conventional production networking. Large public applications may still require dedicated load balancing, application firewalls, redundancy, capacity planning, and other infrastructure outside the scope of a tunnel.
Similarly, a public tunnel is not the same thing as a private network. When users need broad, private connectivity among devices or LANs, VPN Manager is the relevant Localtonet capability. Standard HTTP, TCP, UDP, TLS, and File Server tunnels should not be described or operated as if they were a VPN.
Classify each workload before selecting a tunnel

Adaptable architecture begins with classification, not configuration. For each requested connection, identify who needs access, what protocol the application actually speaks, whether the endpoint should be public or private, where the target runs, how long access is needed, and who owns the service after deployment.
Avoid choosing a tunnel solely from a familiar port number. A custom application may use HTTP on an unusual port, while another service may use raw TCP on a port commonly associated with web traffic. The application protocol and client behavior should determine the tunnel family.
| Access model | Best fit | Local target | Important design question |
|---|---|---|---|
| HTTP/s tunnel | Web applications, browser interfaces, APIs, and webhook receivers | Local IP address and port | Does the application have suitable authentication and authorization for remote access? |
| TCP tunnel | Services that communicate over a raw TCP connection | Local IP address and port | Can the native service authenticate clients and safely handle internet-originated traffic? |
| UDP tunnel | Datagram-oriented applications that require UDP | Local IP address and port | Does the application depend on source addressing, timing, or datagram behavior that must be tested? |
| Combined UDP/TCP tunnel | Applications that need both transport protocols | Local IP address and port | Has the application been verified over both paths rather than only one? |
| TLS tunnel | Applicable TLS-oriented service forwarding | Local IP address and port | What certificate, hostname, and application expectations must be preserved? |
| File Server | Publishing a folder through a browser manager, SFTP, or WebDAV workflow | Local folder path | Which files and operations should remote users be permitted to access? |
| HTTP or SOCKS5 proxy | Using the connected device as a proxy exit node | The connected device, not a conventional local service target | Who is allowed to use the proxy, and what outbound destinations are acceptable? |
| VPN Manager | Private mesh connectivity and bridging local LANs | Participating devices or networks | Which private routes and firewall rules should each participant receive? |
Public web access
Choose an HTTP/s tunnel when the target is a web application, API, dashboard, webhook receiver, or similar HTTP workload. HTTP and File Server tunnels can use a Random Sub Domain, Custom Sub Domain, or Custom Domain Process Type, and all three serve content at a public HTTPS address.
A generated address is often suitable for a temporary test or demonstration. A stable naming requirement may point toward a selected subdomain or custom domain where supported. Exact DNS requirements for a custom domain should always be checked against the current Localtonet dashboard and documentation before a change is made. They should not be inferred from another provider's DNS model.
Raw TCP and UDP services
Use a raw port tunnel when the consumer is a native protocol client rather than a browser. TCP provides an ordered byte stream, while UDP carries independent datagrams. Combined UDP/TCP is relevant when the same application requires both. The resulting access details are a public host and port rather than a web URL.
Protocol forwarding does not add application-level login semantics to a service that lacks them. If a legacy TCP service trusts every client that can connect, publishing it may expose privileged behavior. In that situation, change the service configuration, place an appropriate authenticated gateway in front of it, restrict the use case, or choose a private connectivity design instead.
Folder publication
File Server is different from a normal IP-and-port tunnel because its target is a folder path. Its Default subtype provides a browser-based file manager. SFTP supports standard clients and automation tools, while WebDAV can mount the folder as a native operating-system network drive.
The Default web file manager includes upload, download, rename, move, copy, delete, folder creation, search, preview, tagging, archiving, and sharing. Its permissions include global Upload, Download, Delete, Create Folder, Move, and Share flags, plus per-path overrides where the most specific path wins. Those controls allow a folder publishing workflow to be narrower than exposing a general-purpose file-sharing service.
File Server also has file-event webhooks for upload, delete, rename, and move events, with optional path filtering and HMAC signing. These are distinct from platform-wide Token/Tunnel webhooks, which report connectivity changes. The two systems should not be combined in an integration design because their events and purposes differ.
Proxy exit-node access
Choose an HTTP or SOCKS5 proxy when the requirement is for traffic to exit through a connected device. A proxy tunnel does not forward to a conventional local IP address and port in the same way as an HTTP or TCP tunnel. The connected device becomes the proxy exit node.
This is a materially different trust model. A compromised or broadly shared proxy credential could allow unintended outbound traffic through the device's network. Define who can use the proxy, what business purpose it serves, how long it should remain active, and how usage will be reviewed.
Private mesh connectivity
Use VPN Manager when the objective is a private mesh with granular firewall rules or when local LANs need to be bridged. This model is better aligned with private device-to-device or site-to-site reachability than publishing many separate services to public endpoints.
Do not choose a mesh simply because it sounds more secure, and do not choose individual tunnels merely because they are easy to create. A mesh increases the importance of route and firewall governance. Individual tunnels make service boundaries explicit but can become difficult to inventory if teams create too many overlapping endpoints. The correct model depends on the required reachability.
Design a reusable outbound-tunnel architecture

A scalable design separates four concerns: the workload, the tunnel client, the public or private access endpoint, and the control process. This separation lets a company change one part without casually changing all the others.
Place the client where it can reach the target
The Localtonet client can run on the same device as the application or on a device that can reach it over the local network. Running it beside the application usually creates a narrow path and fewer internal dependencies. Running it on a local gateway may simplify maintenance when several approved services exist on the same network, but it also expands the gateway's potential reach.
Whichever model you choose, use an explicit local target. Avoid relying on an ambiguous hostname whose address can change unexpectedly. Confirm that the target listens on the intended interface and port, and test the connection from the actual client device. A service that works from an administrator's laptop may still be unreachable from the machine running Localtonet.
Treat devices and authentication tokens as separate identities
A Localtonet device authentication token identifies the client device that will run a tunnel. Tokens are device-specific. They should never be guessed, copied into an article, exposed in screenshots, committed to a source repository, or placed in an unsecured support ticket.
Assigning a separate device identity to each operational environment improves accountability. For example, a branch gateway, test server, edge appliance, and developer workstation should not all be represented as one indistinguishable client. Device-specific identity also makes retirement clearer because access associated with a decommissioned device can be handled without confusing it with unrelated systems.
Separate permanent, scheduled, and temporary access
Permanent tunnels support approved ongoing services. Scheduled tunnels support recurring windows such as maintenance periods or demonstrations. Temporary tunnels support a specific incident, test, vendor session, or integration task. These categories should have different review expectations even if the underlying tunnel type is identical.
Temporary access deserves an owner and an end condition before it begins. “Until testing is complete” is weak because it lacks a date or responsible person. A better operational record identifies the requester, service owner, target, protocol, authorized audience, start time, expected stop time, and deletion decision.
Design failure behavior explicitly
A Localtonet tunnel is available only when its selected device is connected and the tunnel is running. This means client shutdown, loss of local connectivity, service failure, or a stopped tunnel can interrupt access. That is useful for limiting temporary availability, but it must be incorporated into expectations for business-critical services.
Decide whether a disconnected tunnel should generate an incident, a low-priority notification, or no alert at all. A permanent customer-facing endpoint may justify rapid escalation. A developer preview that is intentionally stopped every evening does not. Monitoring without ownership creates noise rather than resilience.
Creating a Localtonet tunnel stores its configuration, but the tunnel must also be started. During diagnosis, verify the local application, the client device connection, and the tunnel's running state separately.
Use a service catalog for governance
The dashboard provides a central place to manage tunnels, and our REST API can support automation. Neither replaces an internal ownership model. Maintain a catalog that connects each tunnel to a business purpose and service owner. At minimum, record the device, target type, local destination or folder, intended audience, expected lifecycle, data classification, and retirement condition.
Naming conventions should communicate environment and purpose without including credentials or sensitive internal details. Consistency helps reviewers distinguish production services from tests and identify abandoned configurations. The exact naming convention is an organizational decision rather than a Localtonet requirement.
Implement the workflow with Localtonet

The implementation sequence begins at the private-side device and ends with a controlled verification of the assigned endpoint. Available relay servers, regions, options, and plan-dependent capabilities can change, so obtain current choices from the dashboard rather than hardcoding them into scripts or internal instructions.
Install and run the Localtonet client
Install our client on the device that hosts the local service or can reach it over an approved network path. Start the application and confirm that the device has outbound connectivity. Current installation details depend on the operating system and client version, so use the current Localtonet installation guidance rather than an unverified command copied from another environment.
Authenticate or select the device
Use the device-specific authentication token associated with the client that will run the tunnel. Keep the token confidential and confirm that the selected dashboard device is the intended office server, cloud workload, edge device, or temporary host.
Select an available relay server or region
Choose from the values currently available in the product. Do not assume that a server code, region, protocol option, or capability is available in every plan or deployment. Record the selection if your operational process requires repeatable review.
Create the appropriate connectivity configuration
Select HTTP/s, TCP, UDP, combined UDP/TCP, TLS, File Server, proxy, or VPN Manager according to the workload classification. Normal service tunnels point to a reachable local IP address and port. File Server uses a folder path. Proxy tunnel types make the connected device the exit node, while VPN Manager provides private mesh connectivity.
Start the tunnel and verify the assigned endpoint
Use the Start button after reviewing the configuration. Then test the public URL or public host and port with the intended type of client. Verify both successful authorized access and expected rejection of unauthorized activity. Creation alone does not make the tunnel active.
Stop or delete the tunnel when it is no longer required
Stop the tunnel to end its active availability. Delete configurations that have no continuing operational purpose, subject to your organization's retention and change-management requirements. Also review the local application and any credentials created for the remote-access task.
Verify locally before testing remotely
Before starting remote tests, connect to the target from the Localtonet client device. For a web service, confirm that the intended local address and port return the expected application. For TCP or UDP, use an appropriate native client and verify the full transaction, not merely that a socket can be opened. For File Server, confirm that the folder path exists and that the operating-system account running the client has the intended filesystem access.
Local verification isolates application problems from tunnel problems. If the client device cannot reach the destination, changing the relay server or recreating the tunnel will not fix the underlying path.
Test the remote user journey
Test from outside the private network using the same kind of client that real users will use. A browser test is insufficient for a TCP application, and a successful TCP connection does not prove that an application's login, file transfer, or state synchronization works.
Include negative tests. Attempt access without valid application credentials, with a low-privilege account, and against an operation that should be denied. For File Server, verify the exact file operations granted to each audience. For VPN Manager, verify that firewall rules permit required private routes while denying unnecessary ones.
Apply authentication, least privilege, and exposure controls

Outbound tunneling removes specific network prerequisites, but it does not eliminate security engineering. The strongest design combines a narrow network path, application authentication, least-privilege authorization, device identity protection, controlled lifecycle, and monitoring.
Keep the local target narrow
Point a tunnel only at the service that must be reached. Do not expose a management interface when users only need an application endpoint. Do not publish an entire file tree when one project folder is sufficient. If a gateway device can reach many internal systems, treat its configuration and credentials as more sensitive than those of a single-purpose host.
Require application-level authentication
Internet reachability and user authorization solve different problems. A public HTTPS address can protect the transport path to the tunnel edge, but the application still needs to decide who may sign in and what each user may do. Use the application's supported authentication and authorization controls. Avoid shared administrator accounts, unchanged default credentials, and anonymous access to sensitive functions.
Raw TCP and UDP services require particular caution because they may have been designed for trusted local networks. Confirm their security properties before publication. If the protocol cannot authenticate clients or safely process untrusted input, a public tunnel is generally the wrong boundary.
Protect device tokens and operational credentials
Treat each device authentication token as a secret. Limit access to administrators and the system that needs it. Do not include it in documentation examples, chat messages, logs intended for broad audiences, or client-side application code.
The same principle applies to local application passwords, proxy credentials, SFTP accounts, API secrets, and webhook verification material. Tunneling should not become a reason to distribute credentials more widely than the underlying service requires.
Use File Server controls deliberately
The Default File Server includes path-traversal protection, per-IP rate limiting, blocked executable extensions with an optional allowlist mode, hidden dotfiles, and TLS termination at the tunnel edge. These defaults reduce common risks, but permissions still need to match the business use case.
Per-folder encryption uses AES-256-CBC with a key derived from the folder password through PBKDF2 with 100,000 iterations. The key and password are not stored. A hidden .fsvault file contains only a salt and verification hash, and unlock tokens last 30 minutes. There is no administrator override or password recovery, so losing the folder password means the protected content cannot be recovered through an administrative bypass.
Store the folder password through an approved organizational secret-management process. There is no password recovery or administrator override. Also note that the available evidence does not establish whether Default web-manager features such as per-folder encryption apply to the SFTP or WebDAV subtypes, so do not assume that they do.
Review public share links
File Server public share links can have an expiry date, a download limit, and a separate link password. Use these controls for limited external distribution, but remember that anyone who receives valid access information may be able to use it within those limits. Review active links when a project ends or a recipient no longer needs access.
Do not confuse transport flexibility with policy bypass
Localtonet should be deployed with organizational approval. An outbound connection can operate without inbound router changes, but that does not mean it should be used to evade firewall policy, authorization processes, or data-handling requirements. Security teams should know which services are exposed, why they are exposed, who owns them, and how they will be retired.
Operate, monitor, and retire tunnels safely
Adaptability depends as much on operations as initial configuration. A tunnel that can be created quickly but cannot be inventoried, monitored, or retired predictably becomes technical debt.
Understand the lifecycle states
A useful operational model distinguishes configuration existence, client connectivity, tunnel state, target health, and application health. These signals are related but not interchangeable.
| Layer | Question | Typical check |
|---|---|---|
| Configuration | Does the intended tunnel definition exist? | Review its type, selected device, server, target, and lifecycle purpose. |
| Device | Is the selected Localtonet client connected? | Check device status and the host's outbound network availability. |
| Tunnel | Has the tunnel been started? | Confirm its running state rather than assuming creation activated it. |
| Local target | Can the client device reach the application or folder? | Perform a local protocol-specific test from the client device. |
| Application | Does the complete authorized workflow succeed? | Test login, API behavior, file operation, or native protocol transaction. |
Use platform-wide status webhooks for state changes
Localtonet platform-wide Token/Tunnel webhooks fire when a token or tunnel in a selected Token Group changes to Connected or Disconnected. The POST body is a WebHookRequest JSON object containing Id, ActionDate, Type, and Status.
{
"Id": "tunnel-id-or-auth-token",
"ActionDate": "event action date",
"Type": "Token or Tunnel",
"Status": "Connected or Disconnected"
}
This sample illustrates the documented field meanings and intentionally contains no real token, tunnel identifier, or endpoint. The receiving system should distinguish Type values of Token and Tunnel, and Status values of Connected and Disconnected.
A device disconnect can affect multiple tunnels associated with that client, while an individual tunnel event concerns that tunnel's state. Build notifications around business impact rather than treating every event equally. Deduplicate or correlate events in your monitoring system if its workflow requires that behavior.
For the documented event model, see our Token and Tunnel webhook documentation.
Platform-wide Token/Tunnel webhooks report Connected and Disconnected status. File Server webhooks report upload, delete, rename, and move activity and can use path filters and HMAC signing. Select the webhook system that matches the event you need.
Define response procedures
A disconnected event should lead to a proportionate response. First identify whether the tunnel was intentionally stopped. Next check whether the client device is connected. Then verify local application health and network reachability. Only after those checks should an operator consider recreating or changing the tunnel configuration.
Record who can start, stop, modify, and delete production tunnels. The dashboard and REST API provide management paths, but internal approval and audit requirements are determined by the organization. Avoid automation that starts broad exposure without validating the target and intended audience.
Retire access completely
Stopping a tunnel ends its active availability, while deleting it removes the saved tunnel configuration. A complete retirement review may also include removing application accounts, revoking temporary credentials, deleting File Server share links, disabling related automation, updating the service catalog, and confirming that the local service no longer expects remote traffic.
For a relocated service, avoid leaving both old and new paths active by accident. Verify the new endpoint, communicate the transition, stop the old tunnel, observe for unexpected dependencies, and then delete obsolete configuration according to policy.
Troubleshoot outbound tunnel connectivity systematically

Troubleshooting is fastest when it follows the traffic path from the local application outward. Randomly changing tunnel types, relay selections, or ports can conceal the actual failure and create additional exposure.
The local service is unreachable from the client device
Confirm that the service process is running and listening on the expected address and port. Test from the device running Localtonet, not only from the service host. If those are different machines, inspect local routing and host firewall policy between them. Verify that a hostname resolves to the expected address from the client device.
For File Server, confirm that the folder path is valid on the client's operating system and accessible to the account running the client. A path copied from another machine or operating system may not exist locally.
The tunnel exists but the endpoint is unavailable
Check whether the selected device is connected and whether the tunnel was started. Remember that creation does not imply a running state. If the client device is offline, restarting the local application target alone will not restore the public endpoint.
Also verify that the selected device is the one that can reach the target. In environments with similarly named hosts, an otherwise correct tunnel may be assigned to the wrong client identity.
A web page opens, but application behavior fails
A successful initial page load proves only part of the path. Test authentication, API calls, uploads, downloads, callbacks, and any long-running interactions the application uses. Review the application's own logs for hostname assumptions, redirect behavior, cookie settings, or authorization failures.
Do not invent a custom-domain DNS record to resolve a hostname problem. Consult the current dashboard and documentation for the exact custom-domain workflow because DNS requirements can change.
A TCP or UDP client cannot complete its protocol exchange
Confirm that the selected tunnel matches the application's transport protocol. Test with the same native client and operation used by the real consumer. For an application that requires both UDP and TCP, verify both paths and consider the combined UDP/TCP tunnel rather than assuming one transport is enough.
Some protocol failures occur after a connection has begun, so a basic reachability test may be misleading. Capture application logs and compare local and remote transactions without recording credentials or confidential payloads.
Users have too much or too little file access
Review the Default File Server global permission flags and per-path overrides. The most specific path wins, and changes apply without restarting the tunnel. Check for a narrower override before changing a global permission, particularly when one project folder behaves differently from the rest of the shared tree.
Status alerts appear noisy or contradictory
Determine whether the event represents a Token or Tunnel and whether its status is Connected or Disconnected. Correlate the identifier with your inventory. A planned shutdown should not be handled like an unexpected production outage. Separating permanent and temporary tunnel groups can also make operational interpretation clearer.
The architecture has accumulated too many tunnels
This is usually a governance problem rather than a transport failure. Review each tunnel's owner, audience, protocol, and expiration. Consolidate only when doing so preserves least privilege. If many private device-to-device paths are being approximated with public endpoints, reassess whether VPN Manager offers a clearer private mesh model.
Frequently asked questions
Does an outbound tunnel require router port forwarding?
No. With Localtonet, the client establishes an outbound connection to our relay, so the workflow does not require inbound router port forwarding, firewall changes, VPN setup, or a public IP address. The local environment must still permit the required outbound connection, and organizational security policies still apply.
Is a Localtonet tunnel always available after it is created?
No. Creating a tunnel does not mean it is running. It must be started, and it remains available only while the selected client device is connected and the tunnel is running. It can later be stopped or deleted.
Should we use an HTTP tunnel or a TCP tunnel for a web application?
An HTTP/s tunnel is normally the appropriate model for a browser application, web API, dashboard, or webhook receiver. Use a TCP tunnel when the client communicates through a raw TCP protocol rather than HTTP. Choose from the application protocol, not merely the port number.
Is a standard Localtonet tunnel a VPN?
No. HTTP, TCP, UDP, TLS, and File Server tunnels expose specific services or folders. VPN Manager is our private mesh VPN capability, with granular firewall rules and support for bridging local LANs. Use it when the requirement is private network connectivity rather than individual public endpoints.
What is the difference between a proxy tunnel and a TCP tunnel?
A TCP tunnel forwards traffic to a selected local IP address and port. An HTTP or SOCKS5 proxy tunnel makes the connected device the proxy exit node and does not use a conventional local service target. Because proxy users can send outbound traffic through that device, access and intended destinations require careful governance.
Can we monitor when a tunnel or client disconnects?
Yes. Platform-wide Token/Tunnel webhooks can send a POST when a token or tunnel in a selected Token Group changes to Connected or Disconnected. The event includes the identifier, action date, object type, and status. These connectivity events are separate from File Server file-event webhooks.
Can we manage tunnels through automation?
Localtonet tunnels can be managed from a single dashboard or REST API. Automation should preserve device-specific token secrecy, validate the intended target, apply organizational approval rules, and include a safe retirement process. Exact API operations should be taken from current official documentation rather than guessed.
Which relay server or region should an organization select?
Select from the values currently available in the Localtonet dashboard and evaluate them against the service's users and operational requirements. Available servers, regions, options, and capabilities can vary by plan or deployment, so an architecture document should not hardcode unverified server codes or assume universal availability.
When should a temporary tunnel be deleted rather than only stopped?
Stop the tunnel when active access must end. Delete it when the saved configuration has no continuing purpose, subject to your retention and change-management policies. A complete retirement should also review application accounts, temporary credentials, public share links, automation, and inventory records.
Build your next connectivity workflow with Localtonet
Start with one clearly classified service, place our client where it can reach the target, select the appropriate tunnel or private mesh model, and test the complete authorized user journey before expanding the design.
Get Started Free →