Infraista DocsDocs
NetworkingGatePass

Routing rules

Decide which sites each GatePass hub sends through its gateways, exclude sites that should go direct, and pin a site to one gateway with fallbacks.

Routing rules decide which sites each hub sends through its gateways. Everything else goes straight to the internet from the member's own connection.

The Routing rules page with Route and Exclude lists, the Everything else setting and the URL testerThe Routing rules page with Route and Exclude lists, the Everything else setting and the URL tester

Rule types

TypeExampleMatches
Exact domainportal.vendor.exampleThat domain only
Wildcard*.northwind.exampleThe domain and every subdomain
Prefix wildcardupdates.*Any domain that starts like this
IP10.20.4.15One address
CIDR10.20.0.0/16A range of addresses
Domain + pathfiles.vendor.example/team/That path on plain HTTP only

Path rules apply to plain HTTP only: for HTTPS, the hub sees the site name, not the page.

Add rules

  1. Go to GatePass › Routing rules and pick the hub.
  2. Under Route through GatePass (or Exclude: always go direct), select add and enter the pattern.
  3. Under Send via, choose:
    • Hub pool: any healthy gateway in the hub, using its load balancing;
    • Specific gateway: always exit from one gateway and its IP (for a site that allowlists that IP);
    • Ordered list: a primary gateway, then fallbacks in your order.
  4. Select Add rule.

For a pinned site, choose what happens if its gateway is down: use the hub's pool, next in list, or block the site rather than letting it go direct. Pinning sites to gateways needs Pro or Enterprise.

Bulk import adds many patterns at once: one per line or comma separated. Lines starting with # are ignored, and https:// and paths after the domain are removed for you.

How rules are applied

  1. Exclude wins over Route. An excluded site is never routed.
  2. The first matching rule wins. Reorder rules with the arrows.
  3. The matching rule picks the gateway.
  4. No match uses "Everything else".

Everything else is direct by default: sites that aren't listed never touch the hub, so personal browsing isn't routed or logged. You can switch a hub to route everything except the excluded sites; members are told so in the extension.

Test a URL

Under Test a URL, enter an address to see what the extension and hub do with it, using the rules on the page. Tick gateways as down to see the fallback; nothing changes on the real gateways.

On this page