Most small offices run one flat network: every device can reach every other device. A contractor's laptop can open the file server, and a hacked camera can reach every computer.
Segmentation fixes this. It splits the network into separate parts, called segments, so each device reaches only what it needs. If one device is hacked, the damage stays in its own segment.
This tutorial shows how to segment an office network by using traditional VLAN and Dynamic VLAN with Firewalla, the Firewalla AP7, and the Firewalla Switch.
What you'll need
- The Firewalla latest app
- A Firewalla box (Gold series, Purple, or Orange) in Router mode
- Firewalla AP7 (Dynamic VLANs on Enterprise Wi-Fi need the AP7)
- Firewalla Switch, for wired computers, printers, and servers
- Laptops and phones that support WPA2-Enterprise or WPA3-Enterprise (almost all modern ones do)
Example setup
Employees and contractors join the same "Office" Wi-Fi. Their login decides which network they land on. This is called Dynamic VLAN. IoT devices use their own Wi-Fi.
| Network | VLAN ID | Example IP range | Who's on it | How they join |
|---|---|---|---|---|
| Main LAN | None | 192.168.1.x | The AP7 and the Firewalla Switch | Wired |
| Employees | 10 | 192.168.10.x | Staff laptops and phones, desk computers, file server, printer | "Office" Wi-Fi with an employee login, or wired |
| Contractors | 20 | 192.168.20.x | Contractor laptops and phones | "Office" Wi-Fi with a contractor login |
| IoT | 30 | 192.168.30.x | TVs, cameras, thermostats | "Office-IoT" Wi-Fi, or wired |
Step 1: Create the Employees, Contractors, and IoT networks
Step 2: Set up the Firewalla Switch ports
Step 3: Create the "Office" Wi-Fi with WPA3-Enterprise
Step 4: Give each person a login and a network
Step 5: Create a Wi-Fi for IoT devices
Step 6: Decide what each network can reach
Step 7: Test it
Before starting configuration, we assume you have already installed
Step 1: Create the Employees, Contractors, and IoT networks
- From your box's main screen, tap Network > tap [Add Network, AP7, or Switch] > Local Network.
- Name it "Employees". Set Type to VLAN and VLAN ID to 10.
- Set the network's IP range. This example uses 192.168.10.1/24. Firewalla suggests one; you can keep it or change it.
- Select the same ports as your main LAN, the one the AP7 and the Firewalla Switch are plugged into. With different ports, you can't use this network on Wi-Fi.
- Repeat for "Contractors" (VLAN 20, 192.168.20.1/24) and "IoT" (VLAN 30, 192.168.30.1/24).
Step 2: Set up the Firewalla Switch ports
After setup, every Firewalla Switch port is a trunk port that carries all VLANs by default. Leave the ports to the Firewalla box and the AP7 that way. Set the ports for wired devices to the network they belong to.
- Go to Network > Topology and tap the Firewalla Switch.
- Tap the port for a wired desktop, the file server, or the printer.
- Set it as an Access Port on the Employees network.
- Do the same for other wired devices, choosing the network each belongs on. For example, put a wired smart TV on IoT.
Step 3: Create the "Office" Wi-Fi with WPA3-Enterprise
This is the one Wi-Fi name employees and contractors share. Instead of one shared password, each person signs in with their own username and password. Firewalla acts as the RADIUS server automatically, so no extra hardware is needed.
- Tap Wi-Fi > Create Wi-Fi. Name it "Office" and type any password (it isn't used once Security is set to Enterprise in point 3).
- Under Create Wi-Fi On, pick Contractors. It becomes this Wi-Fi's Default Network once you set Security to Enterprise below.
- Under Advanced Settings, tap Security and choose WPA3 Enterprise. If some laptops are older, choose WPA2/WPA3 Enterprise instead.
- Tap Done to save.
Note:
- If a User has no Network set, their devices land on the Default Network. Contractors has the least access, so if you forget to set someone's Network, they only get what contractors get, not full employee access. Users with a Network set (in Step 4) land on that network instead.
- Switching an existing Wi-Fi to Enterprise removes its Personal Keys (microsegments) configuration. Other Wi-Fi networks are not affected.
Step 4: Give each person a login and a network
Create one Firewalla User per person. Their username and password is their Wi-Fi login, and their network decides where they land.
- Tap Users > Create User and name it after the person, for example "Jane - Employee" or "Sam - Contractor". (Learn more about Users)
- Open the User and tap Username & Password. Adjust the username if you like (for example, jane@yourcompany.com) and set a password. Tap Save.
- In the same User, tap Network and pick Employees or Contractors based on their role. The Network option appears only after you create the Enterprise Wi-Fi in Step 3.
- Send each person their own username & password. Never share one login between people.
When a person leaves, open their User, tap Username & Password, tap "edit", then Revoke Access. Nobody else has to change anything.
Connecting for the first time: the device may ask whether to trust the Firewalla certificate. Tap Trust or Connect. On Android, if it asks for settings, choose:
- EAP method: PEAP
- Phase 2 authentication: MSCHAPV2
- CA certificate: Trust on First Use
Step 5: Create a Wi-Fi for IoT devices
Most IoT devices can't sign in with a username and password. Give them their own Wi-Fi with a regular password, on the IoT network.
- Tap Wi-Fi > Create Wi-Fi, name it "Office-IoT", and set a password.
- Set Security to WPA2/WPA3 Personal, so both older and newer devices can join. If a very old device still can't connect, change this Wi-Fi to WPA/WPA2 Personal.
- Under Create Wi-Fi On, pick IoT, then tap Create.
Step 6: Decide what each network can reach
By default, networks on Firewalla can talk to each other. Add rules so Contractors and IoT get only what they need:
| Network | Internet | File server and printer | Other networks |
|---|---|---|---|
| Employees | Yes | Yes | No |
| Contractors | Yes | Printer only | No |
| IoT | Yes | No | No |
- Tap Rules > Add Rule and create a Block rule:
- Matching: Local Network > All Local Networks > Traffic from & to All Local Networks
- On: the Contractors network
- This blocks traffic between Contractors and every other local network, in both directions.
- Create the same rule for the IoT network.
- Create an Allow rule Matching the Device printer, on the Contractors network, so contractors can print.
- Create similar allow rules for Contractors to access other necessary devices on different networks.
Step 7: Test it
Test each network with a real device. Open the actual file server or printer; a ping test alone can mislead. How to validate Firewalla features
| Join with | IP address should be | Should work | Should be blocked |
|---|---|---|---|
| "Office" + an employee login | 192.168.10.x | Internet, file server, printer | Contractors and IoT networks |
| "Office" + a contractor login | 192.168.20.x | Internet, printer | Other local networks |
| "Office-IoT" | 192.168.30.x | Internet | All local networks |
On the device page in the app, the device should also show the right person's User.
If something is off
| What you see | Why | Fix |
|---|---|---|
| An employee lands on Contractors | The User has no Network set, so the Default Network was used | Set the User's Network, then reconnect the device |
| You changed a User's network, but the device didn't move | The network is applied when the device joins | Reconnect the device to "Office" |
| A device shows up under the wrong person | Someone used another person's login | Give everyone their own login |
| You can't pick a VLAN when creating Wi-Fi | The VLAN uses different ports than the AP7's LAN | Fix the ports (Step 1) |
| A device won't connect to "Office" | The certificate wasn't trusted, or Android settings are wrong | Trust the certificate; on Android, use the settings from Step 4 |
Quick checklist
- Employees, Contractors, and IoT VLANs on the same ports as the AP7's LAN
- Wired desks, file server, and printer on Employees Access Ports
- "Office" Wi-Fi on WPA3 Enterprise, with Default Network set to Contractors
- One User and one login per person, each with a Network set
- "Office-IoT" Wi-Fi on WPA2/WPA3 Personal, on the IoT network
- Contractors and IoT blocked from All Local Networks, with Allow rules only where needed
Related articles
Comments
0 comments
Please sign in to leave a comment.