Skip to content

Subnets

A Subnet makes a whole network range reachable through a gateway asset. This page lists what is specific to Subnets in the Admin Console. Everything the five gateway objects share is on Gateway objects.

In short

A Subnet is a network range, such as 192.168.1.0/24, behind a gateway asset. Clients reach every host in it, as policies allow, with the gateway asset translating the addresses unless No NAT is on. You create it from Assets → Create → Subnet. Use a Virtual Asset for a single device, a Managed Subnet when the gateway asset should also hand out addresses, and an Exit Node for internet traffic.

Before you start

  • A gateway asset that is online: a Linux or Windows asset (Windows is a public beta, see Gateway objects).
  • The network range as address/mask, with a mask between 1 and 32. A range that starts with 0.0.0.0 is refused: use an Exit Node.
  • The gateway asset has to reach the range. With No NAT on, the router of the subnet must also send traffic for the tunnel network back through the gateway asset.
  • A client or asset that already has an address in the range uses its local interface instead of the gateway asset, see Gateway Assets.
  • The Admin Console is for administrators, see Roles.

Common tasks

The list

Subnets are listed below their gateway asset on the Assets page. The group row shows Public IP (empty) and Network (e.g. 10.10.1.0/24). See The list.

The Assets page with the detail panel of a Subnet The Assets page with the detail panel of a Subnet

Detail panel

The panel is headed View Subnet. The icons and the fields every gateway object has are described under Detail panel. The Policy Assistant icon opens the Subnet Policy Assistant. Clone opens the create form with the settings of this Subnet; its Name is selected so you can type a new one.

Besides the shared fields, the detail panel of a Subnet shows:

Field Meaning
Network / Mask The range in CIDR notation, e.g. 10.10.1.0/24.
No NAT Shown as Yes when No NAT is switched on.
Subnet Exceptions Headed by an info icon whose tooltip explains that destinations listed here are not routed through the gateway asset but reach the client's own connection. Status is Off, or On followed by the Presets and Custom networks that are excepted (Nothing excepted when the list is empty).
Hosts The hosts of the subnet with their DNS names, in a list sorted by IP that you can filter with Filter.... Shown only when the subnet has hosts.

Insight

The Insights icon opens Insight Subnet: who can reach the Subnet, by policy. How the panel works is described once under Insight panel; for the sections of a gateway object see Insight.

Insight panel of a Subnet Insight panel of a Subnet

Create and edit

The form has the tabs General, Access, Exceptions and Advanced. How the form works (tabs, Apply, Cancel, single and tabbed view) is described under Create and edit.

Create Subnet form Create Subnet form

General tab

The General tab has the fields every gateway object has and these:

Field Meaning
Network / Mask The range as address/mask, e.g. 192.168.1.0/24. The mask must be between 1 and 32; a network that starts with 0.0.0.0 is refused with Please use Exit Node for 0.0.0.0.
Hosts Hosts with known addresses and DNS names; see below.

Edit Subnet form Edit Subnet form

Hosts

The Hosts list gives the DNS names of known devices in the subnet. It has a Filter... field and is sorted by IP address. Use the green plus next to Hosts to add a host:

  1. Type the IP address and confirm with the check mark or Enter. The field starts with the network prefix of the subnet. The address must be a valid IPv4 address inside the subnet and must not already be in the list.
  2. Type one or more DNS names for the host. Separate several names with a comma or a space. Names may contain letters, digits, _, . and -.
  3. Choose Done. It is available once the host has at least one DNS name (Add at least one DNS name).

The pencil icon at a host changes its DNS names, the trash icon removes the host. Hosts are saved with the subnet when you press Apply. If the list is empty it reads No hosts added.

Access tab

Services and Policy Assignments, as described under Access tab.

Exceptions tab

The tab explains that you choose destinations inside this subnet that are not routed through its gateway asset; they must be inside the subnet and more specific than it. See Exceptions for what this is for.

Element Meaning
Enable exceptions Switch, off by default. Switching it off keeps the entries, so you can switch it on again later. The entries below are shown only while it is on.
Custom networks The excepted networks. Type a network in the Add network field (e.g. 52.112.0.0/14 or 2603:1063::/38) and choose Add; the trash icon on an entry removes it. An empty list reads No custom networks added.

A custom network must have a prefix length (Add a prefix length, for example 10.0.0.0/8.), must be a valid network, must not be in the list already, and must have the same address family as the subnet, be more specific than the subnet and lie inside it. The messages say which rule is broken.

Exceptions are saved with the subnet when you press Apply.

Advanced tab

Element Meaning
No NAT Explains that a subnet with NAT disabled only works if the router for the subnet sends traffic to the tunnel network via the gateway asset.
Enable No NAT Switch, off by default.

Subnet Policy Assistant

The Policy Assistant icon in the detail panel of a Subnet opens the Subnet Policy Assistant. It turns destinations that clients actually accessed in the subnet (from access tracking) into a Virtual Asset and the policy changes that grant it. The back arrow returns to the detail panel.

The Subnet Policy Assistant with a destination IP selected, showing all its steps The Subnet Policy Assistant with a destination IP selected, showing all its steps

The assistant works in steps:

Step What you do
1. Select destination IP Choose the accessed destination IP to build from, in a list with a Filter... field. Once chosen, the step reads Selected destination IP with the address and a Change button.
2. Create virtual asset Enter the Virtual Asset Name. It becomes the DNS name of the new Virtual Asset, whose static IP is the selected address. The name must not be used by an existing Virtual Asset.
3. Services for ... Choose the services the new Virtual Asset offers. The green plus (Create Service Definition) opens the form for a new service definition. Ports found in the tracked traffic that have no definition yet are offered as new definitions, which are created when you apply. At least one service is required.
4. Select policy action The tabs Create new and Add to existing choose whether to create a policy or to extend existing policies.
5. Name the policy (Create new) Enter the Policy Name; it must be new.
6. Select user groups (Create new) Choose the user groups that are granted access. The green plus (Import User Groups) opens the import of user groups. At least one group is required.
5. Select existing policies (Add to existing) Choose the policies, and for each the services, that get access to the new Virtual Asset. Needs at least one selected service and at least one policy assignment.

Cancel and Apply appear once you have selected an IP. Apply asks you to confirm what will be created (new service definitions, the Virtual Asset, and the policy or the number of policies), then creates them and shows a confirmation.

Mass actions

Subnets are checked in the Assets table like any other row. Update Services, Change Gateway Asset, Update Tags, Toggle State and Delete Selected apply to them; see Mass actions.

See also