Skip to content
Sections

Static IP and webhooks for n8n

Run outbound allowlisted requests and inbound self-hosted webhooks for n8n from a single Prontaro account.

NeedsFree$0/moTry an HTTPS tunnel on a shared addressStart free
Webhook sendersHTTPS
HTTPS tunnelshared address · Free
  • Local n8n (:5678)
Webhook senders → HTTPS → 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.

  1. Add your dedicated IPv4 (/32) to the partner API’s allowlist.
  2. 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.com and 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-Auth header so it never collides with the partner’s Authorization header.
IP addressesRelay addressOpen in dashboard
  1. 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):
WorkflowHTTP Request node
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:

  1. 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 HTTPS URL (https://u_n8n:s3cr3t@<entry>.prontaro.io:443).
IP addressesProxy credentialsOpen in dashboard
  1. Configure either a single node or the whole container:
  • Per-node (recommended): pass PRONTARO_PROXY_URL to 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): set HTTPS_PROXY / HTTP_PROXY and exclude localhost plus internal Docker Compose hostnames (postgres, redis, etc.) via NO_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.

yaml
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,redis

Verify 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) at https://api.ipify.org with Options → Proxy set, and click Execute step.

Expected response body:

text
203.0.113.10

Delete the temporary Relay once confirmed in the dashboard. If you use Option B (proxy), now lock down allowed destinations:

  1. Open IP addresses → Proxy credentials in my.prontaro.com, select n8n-prod, and switch to Access.
  2. Add api.example.com:443 under To and save.
IP addressesProxy credentialsAccessOpen in dashboard

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

bash
prontaro http 5678 --name n8n

On the Free plan, Prontaro assigns a persistent URL under *.prontaro.dev (on Tunnels, Dedicated, and Pro, it uses *.prontaro.run and supports custom domains):

text
https://a7f3c9b2.prontaro.dev  →  http://127.0.0.1:5678

On Linux or macOS, run the tunnel as an OS service so it starts automatically after reboot (OS services):

bash
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):

yaml
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:
In the dashboard
  1. Open Tunnels, select the n8n tunnel, and open the Access tab.
  2. Add the allowed IPv4 addresses or CIDR blocks and save.
TunnelsAccessOpen in dashboard
In the terminal (CLI)
bash
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

Contact us

Enter your email so we can reply.Enter a valid email, e.g. name@company.example.
Tell us what you need or what went wrong.up to 2,000 characters

Sent! We’ll reply to .

Or email us at support@prontaro.com