Why
With a hosted tunnel service, all traffic to your service goes through the relay of a third party. You also need an account and a subscription with that third party.
Nordray Tunnel puts the relay in your own bunny.net account. There is no Nordray relay, no Nordray account, no telemetry and no Nordray invoice. You pay bunny.net directly for the resources that you use.
How it works
The relay and the agent are unmodified frp. The relay operates in Magic Containers. The agent operates near your service and connects to the relay.
You make the installation
nordray-tunnel setupshows the resources and the costs. When you accept, it makes the relay and the pull zones in your account.You add a service
nordray-tunnel addconnects a hostname to a local address. If your domain is in Bunny DNS, it makes the DNS record. If not, it shows the record to make.You start the agent
nordray-tunnel runstarts the agent. The agent does not need your bunny.net API key.Visitors get access
Requests go through Bunny CDN, Shield and the relay to your service.
nordray-tunnel status --remoteshows the state of the installation.
Security model
Visitor traffic always goes through Bunny CDN and Shield.
Shield in front of each service
The web application firewall operates in blocking mode, with DDoS protection. Visitors cannot send requests to the relay directly.
Unknown hostnames get 404
The relay answers 404 for each hostname that no agent has registered.
Verified TLS to the relay
The agent always verifies the certificate of the relay. The generated configuration always includes the CA certificates.
Secrets in the credential store
The bunny.net API key and the tunnel token are in the credential store of your operating system. The API key does not go to the relay or to the agent.
Services are public
Nordray Tunnel does not add a login. Each person who knows the hostname can get access. Protect private services with their own login or with Nordray Access.
One token, trusted operators
All agents of an installation use the same token. Each holder of the token can register hostnames. This is not tenant isolation.
Two transports
The agent connects to the relay in one of two ways. You select the transport when you make the installation.
| Transport | How the agent connects | Fixed cost |
|---|---|---|
wss (default) | WebSockets on port 443, through a pull zone | None |
anycast | frp TLS on port 7000, to an Anycast IPv4 address | One IPv4 address, for all agents and services |
Run it
The nordray-tunnel command is available for Linux, macOS and Windows. It installs a verified frp agent and manages the relay through the bunny.net API. The instructions and the cost details are in the repository.
Also from Nordray: Access
Nordray Access puts a login in front of your web application at the Bunny CDN edge. You do not change your application code.