Access control & firewalls
Lock down tunnels with IPv4/CIDR allowlists and add Basic Auth passwords to HTTPS endpoints — unauthorized traffic is stopped on the Prontaro server before reaching your machine.
On this page8
Access rules are available on every plan, including Free, and can be edited in the dashboard or via prontaro CLI. By default, HTTPS tunnels start open and TCP ports start closed; rejected requests and packets never count toward your monthly traffic allowance.
How it works
Access rules are stored in your account, so you can edit them even while the CLI is stopped and they persist across restarts. Changes take effect across Prontaro servers within seconds without restarting the tunnel:
Incoming request / TCP SYN
│
▼
Prontaro server
├─ TCP allowlist: kernel filter drops unlisted IPs before TCP accept
├─ HTTPS allowlist: returns 403 before forwarding to prontaro CLI
└─ HTTPS Basic Auth: checks credentials and strips the Authorization header
│ only allowed traffic crosses the tunnel and counts toward your monthly allowance
▼
prontaro CLI ──▶ Local serviceDefault modes for HTTPS and TCP
| Tunnel type | Default access | Empty allowlist behavior | Basic Auth |
|---|---|---|---|
| HTTPS | Open to everyone | Opens access to everyone | Supported (multiple logins) |
| TCP (shared or dedicated IP) | Closed to everyone | Closes port to everyone | — |
On a dedicated IPv4, per-port TCP allowlists act as your IP’s firewall: rules survive restarts, and connections from unlisted addresses are dropped before a TCP handshake completes.
IPv4 allowlists
- Open the tunnel under Tunnels and switch to the Access tab.
- Add or remove IPv4/CIDR entries, or click Open to everyone.
- Rejected HTTPS attempts appear in Logs and the tunnel’s real-time request feed—you can allow a blocked IP in one click straight from a log entry.
Inspect current rules and allow a single IPv4 address plus an office subnet:
prontaro access pg-prod
prontaro access pg-prod allow 198.51.100.7 203.0.113.0/24pg-prod · closed
✓ pg-prod now open only to 198.51.100.7/32, 203.0.113.0/24 (was: closed); takes effect within seconds.If your ISP rotates your dynamic IP, add the new address with allow and remove the old one:
# Remove one address
prontaro access pg-prod remove 198.51.100.7
# Close a TCP tunnel to everyone immediately (TCP only)
prontaro access pg-prod close
# Open to everyone (prompts for confirmation; add --yes in scripts)
prontaro access demo public --yesBasic Auth passwords (HTTPS tunnels)
HTTPS tunnels support one or more Basic Auth logins on their own or layered with an IP allowlist. After verifying the password, the Prontaro server strips the Authorization header so Prontaro credentials never leak into your app logs.
Basic Auth logins are managed in the dashboard (you can see whether password protection is enabled in prontaro ls and prontaro access <tunnel>):
- Open the HTTPS tunnel under Tunnels in my.prontaro.com and switch to the Access tab.
- Under Basic Auth, click Add login, enter a username (for example,
reviewer), and either type your own password or let Prontaro generate one. - You can reveal existing passwords at any time or remove individual logins without affecting the rest. To rotate a password without downtime, add a second login, update your clients to use it, and then remove the old login.
Limits and notes
- Active connections are re-checked immediately. Tightening an IP rule or revoking a login drops open connections that no longer match; allowed connections stay up.
- Allowlists only, IPv4 only. Deny lists are not supported. Rules accept single IPv4 addresses (stored as
/32) and IPv4 CIDR blocks. closeis TCP-only. On HTTPS, an empty list opens access to everyone (pass--yesin scripts when removing the last IP). To restrict an HTTPS tunnel, specify allowed addresses withallowor stop it withprontaro stop.- Local apps that use Basic Auth. Because the Prontaro server strips
Authorizationafter verifying its tunnel password, use an IP allowlist instead if your local app requires its own Basic Auth.
FAQ
Why don’t blocked TCP connection attempts appear in Logs?
When a TCP tunnel has an allowlist or is closed, unlisted packets are dropped by the edge kernel filter before a TCP connection is established. Because no connection is accepted, it does not clutter Logs or reach your local service.
Next steps
- Connection logs — inspect allowed and blocked requests (also available in dashboard Logs).
- HTTP & SOCKS5 proxy — restrict source IPs and allowed hosts for outbound traffic.
- TCP tunnels — configure default-closed ports for databases and SSH.
Something wrong on this page? Contact us