HELP
ZTPipe Web Help
Last updated: November 23, 2026
ZTPipe Web is used by site owners (the people who manage the sites to be protected) and users (the people who are invited and use the sites). This page explains how to get started and what to check when something goes wrong.
1. Overview
User’s device (Windows, macOS)
Site owner’s site
- The user opens the site’s usual URL (for example,
admin.example.co.jp) in their usual browser. Because the agent points that name to the device itself in the hosts file, the browser’s traffic reaches the agent on the same device. - The agent connects over the internet to the gateway that the site owner placed in front of the site. The connection is encrypted and carries a ticket and a signature made with a key that cannot be taken out of the device (the device key).
- The gateway checks the ticket, the device key signature, and the allowlist signed by the site owner. Only when these checks pass does it exchange traffic with the existing web server.
- The web server’s response goes back from the gateway to the agent, and from the agent to the browser. The user sees the usual site as is.
The gateway never replies to traffic that fails the checks. People who are not allowed cannot even see that the site exists. Traffic does not pass through our servers (our control plane only manages permissions and issues tickets). There is no need to change how the web app or the browser is built or configured.
Steps to get started
- The site owner buys a license in the portal and receives a license key.
- The site owner sets up the gateway on a server in front of the site to be protected, and creates the site with the site owner agent (ZTPipe Web Site Owner).
- The site owner creates an invitation for each user and hands it over.
- The user installs the agent (ZTPipe Web) and uses the invitation. Once the site owner approves, the user can open the site in their usual browser.
2. Site owner: set up the gateway and create the site
2.1 Install the site owner agent
From “Downloads” in the portal, install the site owner agent for Windows (MSI) or macOS (pkg). Administrator privileges on the device are required for installation. The site owner key is created inside this device’s TPM (Windows) or Secure Enclave (macOS) and never leaves it.
If you lose the device that holds the site owner key, you can no longer sign the site records or the allowlist. Take good care of the site owner’s device.
2.2 Create the gateway identity
- Prepare a Linux server with a public IP address (x86_64 or aarch64 with glibc 2.34 or later; for example, Ubuntu 22.04/24.04, Debian 12, RHEL 9, Amazon Linux 2023. systemd and TPM 2.0 are recommended).
- In the directory where you extracted the gateway distribution file (tar.gz), run
sudo ./install.sh. You do not have a setup string yet, so leave it empty when prompted and continue. - Run
sudo /opt/ztpw-gateway/current/ztpw-gateway init. This creates the gateway identity key (inside the TPM) and displays the gateway identifier. Send the identifier, together with this server’s public IP address and port, to the site owner.
2.3 Create the site
In the current version, the initial setup of the site owner agent (creating the site owner key, creating the site, and registering it as a service) is done with the ztpw-owner command (we will guide you through the steps during onboarding). When you create the site, specify the license key you received in the portal, the gateway identifier and its address, the name of the web app to protect (for example, admin.example.co.jp), and the domain used to verify that you own that name. Add the TXT value shown by the site owner agent to that domain’s DNS.
2.4 Finish setting up the gateway
- In the management window, go to “Site” → “Gateways”, click “Create setup string”, and give the string to the person in charge of the gateway server.
- On the gateway server, run
sudo ./install.sh --setup <setup string>. - Confirm that the Key fingerprint displayed matches the Key fingerprint in the bar at the top of the management window. If they differ, the string has been tampered with. Stop the setup and contact the site owner. If they match, the gateway starts.
- To use two or more gateways, perform step 2.2 on each additional gateway, and enter its identifier in “Add gateway” in the management window.
The gateway does not reply to traffic that fails verification. Open the port the gateway listens on (UDP) in the server’s firewall. If the server has two NICs, install.sh shows how to add the route.
2.5 Close the web app server to the internet
If the web app server can still be reached directly from the internet, anyone can get in without going through the gateway. Once you have confirmed that users can open the site through the gateway, do the following.
- Remove the web app server’s public IP address, or configure its firewall so that only traffic from the gateway is allowed. There is no need to change how the web app is built or configured.
- You may delete the A and AAAA records for the protected name (for example,
admin.example.co.jp) in public DNS. On users’ devices, the agent points that name to the device itself in the hosts file, so public DNS is not used. - Keep the TXT record that verifies you own the name. Do not delete it.
3. Site owner: invite, approve, and remove
- Invite: In “Invitations” in the management window, create an invitation for each person. Give the invitation text (or QR code) to the person through a separate channel, such as email or chat. Each invitation can be used only once.
- Approve: For each request that arrives in “Pending approval”, compare the device fingerprint with the fingerprint on the person’s screen, then approve it. When you approve, an allowlist signed with the site owner key is delivered to the gateway.
- Remove: Remove people or devices from “Users” or “Connected devices”. Within about 5 seconds they are removed from the allowlist, and the device can no longer connect.
- Needs attention: Anything that requires action by the site owner, such as pending approvals, people who still have an old device registered after getting a new one, or an old gateway version, is indicated by the icon in the system tray (Windows) or the menu bar (macOS) and by notifications.
4. User: install the agent and register
- Install the agent (ZTPipe Web) as instructed by the site owner. Administrator privileges on the device are required once, during installation.
- Register using the invitation you received from the site owner. The device fingerprint is displayed; check it together with the site owner.
- Once the site owner approves, the agent prepares the site. On macOS, a window asks for your password so that the device trusts a certificate authority that is used only within the device.
- Open the site’s usual URL in your usual browser (Chrome, Edge, Firefox 150 or later, Safari).
The agent writes lines to the hosts file that point the names of protected sites to the device itself. It removes them when the site or the agent is removed.
5. Updates
By default, the agent, the site owner agent, and the gateway update automatically after verifying our signature. You can check whether the new version is installed from the version shown in the tray icon’s tooltip, in the menu bar, or in the bar at the top of the management window.
- The Windows site owner agent is replaced automatically. For the macOS site owner agent, click “Update” in the management window and enter your password in the installer.
- To turn off automatic updates (device administrators): on Windows, set the DWORD
AutoUpdateunderHKLM\SOFTWARE\Policies\Packet Pilot\ZTPipe Webto0; on macOS, setAutoUpdatein the managed preferences (configuration profile) domainapp.ztpipe.webtofalse. - The gateway updates during the configured time window (by default 2:00 to 5:00, server time), and reverts to the previous version if it fails to start.
- Old versions may no longer be accepted by the control plane. If you have turned off automatic updates, update when you are notified.
6. Unsupported and limited uses
- Embedding the app inside a page of an external site (iframe) or calling the app directly from JavaScript on an external site may be blocked by the browser’s security mechanisms.
- Notifications sent from outside services to the web app’s server (such as webhooks from payment services) do not arrive as is. The payment pages themselves can be used.
- WebSocket is not supported in the current version.
- Cookies, sessions, CSRF protection, and sign-in with Google or other accounts (where the whole page moves to the sign-in page) work as is, with no configuration changes.
When images or files come from another name
ZTPipe Web protects only the names you put in the site (for example, admin.example.co.jp). Links, images and scripts under that name stay protected, whether they use relative paths or absolute URLs with the same name.
If a page loads something from another name (for example, images served only from img.example.co.jp), that request does not go through ZTPipe Web; it takes the usual internet route. If that name is open to everyone, it is not protected (anyone who knows the URL can fetch it).
- To protect it, add that name to the site:
ztpw-owner record-update --add-name img.example.co.jp. You can add only names under a proof domain (the domain where you placed the TXT record). On users’ devices, a notification asks them to approve the added name (ztpw-agent approve-names). - An added name is relayed by the same gateway to the same upstream web server. That web server must also answer for the added name and hold a certificate for it.
- If the files come from a different web server, protect that server as a separate site (with its own gateway).
- Names of external CDNs or other companies’ services are not under your proof domain, so ZTPipe Web cannot protect them.
7. Troubleshooting
You use a corporate proxy
Add the names of the protected sites as proxy exceptions (DIRECT in a PAC file). If you use a PAC file, the names must be added to the PAC file itself. The agent tells you if there is a name it cannot reach.
macOS: “Allow … to find devices on local networks?” appears
Click “Allow”. If it still cannot connect after you allow it, go to System Settings → “Privacy & Security” → “Local Network” and turn the ZTPipe Web item off and back on, or restart the Mac.
macOS: Notifications do not appear on screen and go only to Notification Center
While the screen is being shared (including remote desktop and screen mirroring), macOS settings keep notifications from appearing on screen. Go to System Settings → “Notifications” → “When mirroring or sharing the display” and set it to “Allow notifications”. You can change the ZTPipe Web notification settings in System Settings → “Notifications”.
The site does not open in Firefox
Use Firefox 150 or later. By default, Firefox reads the certificate authorities trusted by the OS. If you have changed this setting, change it back.
Windows: The ZTPipe Web icon is not visible in the system tray
Click “^” in the system tray to show hidden icons. To always show the icon, turn it on in the taskbar settings.
Gateway: It does not start on AWS (ENA, native XDP)
To attach XDP in native mode on AWS ENA, the users’ NIC must have an MTU of 3498 or less and no more than half of its maximum queues. Otherwise the gateway stops instead of silently switching to generic (the log says it cannot attach in native mode). install.sh checks these conditions and suggests generic if they are not met. For native, lower the MTU (e.g. ip link set <NIC> mtu 1500) and the queues (e.g. ethtool -L <NIC> combined 1), and persist them in netplan or similar. In generic mode, the gateway still never answers traffic that fails the checks.
Gateway: It cannot reach the control plane (with two NICs)
XDP drops everything except QUIC. If traffic to the control plane leaves through the users’ NIC where XDP is attached, the replies are dropped and the connection fails (for example, when the management NIC has no IPv6 and IPv6 traffic leaves through the users’ NIC). The gateway skips such addresses and uses another one (such as IPv4), and logs a warning if every address is affected. Add a route via the management NIC, or set an address reachable through it with install.sh --control-address <control plane IPv4>:8444 ([control] address in gateway.toml).