Static IP and webhooks for n8n
Run outbound allowlisted requests and inbound self-hosted webhooks for n8n from a single Prontaro account.
- Local n8n (:5678)
On this page11
Which method to choose
| Workflow direction | Where n8n runs | Prontaro method | Plan needed |
|---|---|---|---|
| Outbound static IP | n8n Cloud or self-hosted | Relay URL (no CLI needed) | Dedicated / Pro |
| Outbound static IP (multiple hosts / mTLS) | Self-hosted | HTTPS proxy (Options → Proxy or HTTPS_PROXY) |
Dedicated / Pro |
| Inbound webhooks (HTTPS) | Self-hosted (local, Docker, VPS behind NAT) | prontaro http 5678 --name n8n |
Free, Tunnels, Dedicated, or Pro |
A Relay URL decrypts TLS on the Prontaro server and opens a fresh HTTPS connection to the upstream API. When a partner requires end-to-end TLS or mTLS, use self-hosted n8n with an HTTPS proxy — see Relay URLs.
Workflow 1. Outbound static IP from n8n (Dedicated / Pro)
Option A. Relay URL (n8n Cloud and self-hosted, no CLI)
n8n Cloud does not let you route container traffic through a custom proxy, so a Relay URL is the simplest way to call an IP-allowlisted API. You do not need to install prontaro CLI.
- Add your dedicated IPv4 (
/32) to the partner API’s allowlist. - Create a Relay for the partner’s hostname in my.prontaro.com:
- Open IP addresses, select your IP, and click Add relay address.
- Enter
api.example.comand copy the generated URL (https://relay-3f9c2a7e-5b1d-4c8a-9e60-1d2b3c4d5e6f.prontaro.run). - Optionally add a Relay password on the Access tab — the dashboard gives you a
Prontaro-Relay-Authheader so it never collides with the partner’sAuthorizationheader.
- Configure your HTTP Request node in n8n (replace only the host with your Relay URL; keep the API path, query string, and partner headers unchanged):
- Method
- GET
- URL
- https://relay-3f9c2a7e-5b1d-4c8a-9e60-1d2b3c4d5e6f.prontaro.run/v1/status
- Header: Authorization
- Bearer your-partner-token
Option B. HTTPS proxy on self-hosted n8n
If you self-host n8n and need end-to-end TLS via HTTP CONNECT or calls to multiple hosts:
- Create proxy credentials in my.prontaro.com (leave the To list open until after the IP check below):
- Open IP addresses, select your IP, and click Create proxy credentials (for example,
n8n-prod). - Copy the
HTTPSURL (https://u_n8n:s3cr3t@<entry>.prontaro.io:443).
- Open IP addresses, select your IP, and click Create proxy credentials (for example,
- Configure either a single node or the whole container:
- Per-node (recommended): pass
PRONTARO_PROXY_URLto your n8n container environment, then in the HTTP Request node open Add Option → Proxy and enter{{$env.PRONTARO_PROXY_URL}}so credentials stay out of workflow JSON. - Container-wide (
docker-compose.yml): setHTTPS_PROXY/HTTP_PROXYand exclude localhost plus internal Docker Compose hostnames (postgres,redis, etc.) viaNO_PROXY.
If N8N_BLOCK_ENV_ACCESS_IN_NODE=true is enabled in your self-hosted n8n, $env expressions are blocked in nodes — use container-wide proxy settings or Credentials instead.
services:
n8n:
image: docker.n8n.io/n8nio/n8n:latest
ports:
- "127.0.0.1:5678:5678"
environment:
- HTTPS_PROXY=${PRONTARO_PROXY_URL}
- HTTP_PROXY=${PRONTARO_PROXY_URL}
- NO_PROXY=localhost,127.0.0.1,postgres,redisVerify the outbound IP in n8n
- For Relay: create a temporary Relay for
api.ipify.org, point an HTTP Request node (GET) at that Relay URL, and click Execute step. - For HTTPS proxy: point an HTTP Request node (
GET) athttps://api.ipify.orgwith Options → Proxy set, and click Execute step.
Expected response body:
203.0.113.10Delete the temporary Relay once confirmed in the dashboard. If you use Option B (proxy), now lock down allowed destinations:
- Open IP addresses → Proxy credentials in my.prontaro.com, select
n8n-prod, and switch to Access. - Add
api.example.com:443under To and save.
Workflow 2. Inbound webhooks for self-hosted n8n (available on Free)
By default, local n8n generates webhook URLs pointing to http://localhost:5678/webhook/..., which external services cannot reach. This workflow needs prontaro CLI on your n8n host and works starting on the Free plan.
Step 1. Start a named HTTPS tunnel
prontaro http 5678 --name n8nOn the Free plan, Prontaro assigns a persistent URL under *.prontaro.dev (on Tunnels, Dedicated, and Pro, it uses *.prontaro.run and supports custom domains):
https://a7f3c9b2.prontaro.dev → http://127.0.0.1:5678On Linux or macOS, run the tunnel as an OS service so it starts automatically after reboot (OS services):
prontaro service install -- http 5678 --name n8n(On Windows, use Task Scheduler as shown in the Windows CLI guide.)
Step 2. Set WEBHOOK_URL in n8n
Configure n8n so webhook triggers advertise your public Prontaro URL (the docker-compose.yml below also shows how to combine inbound webhooks with outbound PRONTARO_PROXY_URL on Dedicated/Pro; remove PRONTARO_PROXY_URL if you only use Free webhooks):
services:
n8n:
image: docker.n8n.io/n8nio/n8n:latest
ports:
- "127.0.0.1:5678:5678"
environment:
- WEBHOOK_URL=https://a7f3c9b2.prontaro.dev/
- N8N_PROXY_HOPS=1
# If you also open the n8n editor through this tunnel:
- N8N_HOST=a7f3c9b2.prontaro.dev
- N8N_EDITOR_BASE_URL=https://a7f3c9b2.prontaro.dev/
# Optional (Dedicated / Pro) — for outbound HTTP Request nodes via proxy:
- PRONTARO_PROXY_URL=${PRONTARO_PROXY_URL}Restart the container, activate a Webhook trigger node on path ping, and test it from outside:
curl -fsS https://a7f3c9b2.prontaro.dev/webhook/ping
{"message":"Workflow was started"}Step 3. Lock down access to the editor and tunnel
Never leave a self-hosted n8n editor publicly open without authentication:
- Enable n8n user auth: mandatory when webhooks arrive from third-party platforms with dynamic IPs.
- Restrict by source IP: use IP rules when only known partner servers or your office call n8n:
- Open Tunnels, select the
n8ntunnel, and open the Access tab. - Add the allowed IPv4 addresses or CIDR blocks and save.
prontaro access n8n allow 198.51.100.0/24- Tunnel password: enable it in the dashboard on the tunnel’s Access tab only for the editor or private Basic Auth webhooks. Never enable Basic Auth on Stripe or Telegram webhook URLs — those requests get
401 Unauthorized.
Common errors
| Error | Cause | Fix |
|---|---|---|
Webhook trigger still shows http://localhost:5678/webhook/... |
WEBHOOK_URL is not set or n8n was not restarted. |
Set WEBHOOK_URL=https://a7f3c9b2.prontaro.dev/ (or .prontaro.run on paid plans) and restart n8n. |
502 local_unreachable on incoming webhook |
n8n is not listening on 127.0.0.1:5678. |
Check curl -I http://127.0.0.1:5678/healthz locally and match the port in prontaro http. |
Third-party webhook receives 401 or 403 |
prontaro access IP list or tunnel password blocks the sender. |
Check Tunnels → Access (prontaro access n8n). Keep n8n’s own login enabled and verify webhook signatures in your workflow. |
{{$env.PRONTARO_PROXY_URL}} is empty or throws an error |
N8N_BLOCK_ENV_ACCESS_IN_NODE=true is active in self-hosted n8n. |
Disable the block, or pass HTTPS_PROXY + NO_PROXY at the container level. |
For 407, 403, and general proxy or CLI errors, see error codes and HTTP & SOCKS5 proxy.
Next steps
- Relay URLs — how Relay routing works,
Prontaro-Relay-Authheaders, and protocol limits. - HTTPS tunnels — persistent subdomains and custom domain setups for self-hosted n8n.
- Access control & firewalls — protect your n8n editor and webhooks with IP allowlists or Basic Auth.
- Static IP for Make and Zapier — using Relay URLs in no-code cloud automation platforms.
- Background services (Linux & macOS) — auto-start your tunnel with systemd or launchd across reboots.
Related guides
- Relay URLsCall IP-allowlisted HTTPS APIs from edge runtimes and no-code tools without proxy configuration by replacing the base URL with a Prontaro Relay URL.
- HTTPS tunnelsExpose local HTTP and HTTPS services behind NAT at a permanent URL with automatic TLS — on a shared Prontaro address or on your dedicated static IPv4.
- Access control & firewallsProtect HTTPS and TCP tunnels with IPv4 allowlists and Basic Auth passwords — blocked traffic is stopped at the Prontaro server and never billed.
- Background services (Linux & macOS)Run Prontaro tunnels and port forwards in the background with systemd on Linux or launchd on macOS, inspect service logs, and upgrade cleanly.
Something wrong on this page? Contact us