Weft Start free trial

Blog · Feature · · 3 min read · By The Weft team

Your laptop in the office, with the same rules as at home

Most office networks decide who you are by the socket you plug into. The Weft app now notices when it is behind one of your offices and tunnels to that office's box, so a person keeps their own groups and unlocks at their desk. About ten seconds to move, either way.

At home, a laptop's Weft tunnel says who it is: this is Sarah's laptop, and Sarah is in Finance. That is what decides which servers she can reach, which ones need an unlock first, and what the policy log records against her name.

Most office networks forget all of that at the door. Plug in at a desk, or join the office Wi-Fi, and the network decides who you are by where you are: the Finance VLAN, the guest Wi-Fi, or whatever the socket by the window was patched to years ago. The same person gets different rules depending on which room they are in.

So the Weft app now knows when it is in one of your offices, and keeps its person's rules there.

What happens when you walk in

Every office's Weft box is also the router on its own networks. When the laptop joins a network whose router is one of your boxes, the app tunnels straight to that box instead of out to the hub and back.

It does not take the network's word for it. The app completes a handshake with the box using that box's own key, the same kind of key that protects every tunnel in your network. A network that only looks like your office, with the same addresses, cannot complete it, and the laptop stays on the hub as it was.

Once it is attached, the laptop keeps the address it has everywhere else in your network. Its groups, its unlocks and its policy history all follow that address, so in the office:

  • Groups still decide. Take Sarah out of Finance and the office box refuses the Finance servers within a minute, as it would on the road. In our test network it took 31 seconds.
  • Unlocks still apply. A server that needs an unlock still needs one at the office.
  • The log still says who. The policy log shows Sarah's laptop, not just an address on a desk VLAN.

The laptop's traffic across the office Wi-Fi or network is encrypted up to the box. From the box to a server on that office's own network it travels as it would for anyone connecting from outside: the box is where the tunnel ends.

Walking out again

When the laptop leaves the office network, the app tells Weft straight away and goes back to the hub. The hub routes it at once, and Weft ignores the office box's stale view of a laptop that has just left, so it is not pulled back by mistake.

We measured it on a Mac on 19 October, switching between the office Wi-Fi and a home network:

  • Onto the office Wi-Fi: attached at the office box four seconds after the switch, and the app showed connected about ten seconds after it.
  • Back to the home network: back through the hub in about ten seconds, with nobody pressing anything.

Phones, TVs and printers

Some devices will never run the app. For those, put them in a group by their hardware address: on the site's page, each device on the network has a Group column, and you pick the group there.

The group follows whatever address the office's DHCP server gives that device, so policy, the log and the counters all see it as part of its group. The box also refuses that address if it turns up from any other device.

That is as far as a device that cannot prove who it is can go. Someone who copies its hardware address takes its identity, which is exactly why people's laptops use the app instead.

What it does not change

Two machines on the same office network talk to each other directly and never pass the box. A server that needs protecting belongs on its own network or VLAN.

Turning it on

In the console, open Settings and set site_attach to on. Laptops on the current Weft app for Mac or Windows pick up each office's details on their next profile update and attach by themselves. The device list then shows each one as at the office, with the office's name, and the app says Connected through that office.

If you would like to see it on a real network first, look round the demo console.