TUNNELNET

Business / Blog / Field notes

We don't need our ISP's static IPs anymore

Our own office runs on a UniFi Dream Machine SE. On November 9 we gave it a public IPv4 address through TunnelNet instead of from our internet provider. Here is what that means, what we measured on the first day, and what broke, and what we're still testing.

Why a business wants an address of its own

Plenty of things at an office need to be reached from outside: a camera recorder, a file server, remote desktop, a test web page, a supplier who only lets in addresses on their list. All of them need a public address that stays the same.

Internet providers usually sell that as an extra: a static IP plan, often only on business service, and not on every connection. Starlink and 5G home internet often don't offer it at all. And the address belongs to that one line. If the line changes, so does the address.

What we did instead

The office gateway keeps a private, encrypted connection to TunnelNet. The public address lives on our network, not on the internet line. When someone outside connects to that address, the connection comes down the tunnel to the gateway, and the gateway passes it to the one machine and port we opened.

Only incoming connections use the address. Everyday browsing at the office stays on our normal internet line, exactly as before.

One plain fact: we're still under contract with Comcast, our internet provider, for a block of static IP addresses. We'll cancel it when the contract ends, because TunnelNet now does that job.

What we measured on day one

We put a small test page on a server at the office and checked it from a server of ours in Miami, once a second, for 77 minutes.

WhatResult
Checks from Miami, once a second4,605
Checks that failed7 (0.15%). Three of those were us restarting the test server.
Time for the office to answer, seen from Miamiabout 135 to 140 ms

To be complete: earlier that morning, while we were still setting things up, we saw one gap of about 28 seconds where the test page didn't answer. The tunnel itself stayed connected the whole time. We haven't found the cause yet, and we'll write it up when we do.

These are numbers from one office, one line and one day. They are not a promise about anyone else's connection.

Bugs we found, so far

From hand work to one command

Getting our own gateway working took hand work that a customer shouldn't have to do: we added a line to the setup file before UniFi would accept it, and we set up the rules for incoming connections by hand.

So we built a small agent that runs on the gateway and does that part for you, installed with one command from the portal. You open or close a port in the TunnelNet portal, and the agent applies it. In our lab, on a test gateway set up like a UniFi one:

Those are lab numbers, not numbers from our office gateway.

What we're still testing on our own gateway

We'll replace the lab numbers above with our office's own as each test runs. MikroTik and OPNsense routers work too; the Business page has the details.

Running UniFi yourself? The UniFi page has the setup. Questions: support@minakilabs.com.