Be Your Own Cloud code · PART 5 — GOING FURTHER

Chapter 24 Router-Level Segmentation: VLANs for a Homelab

1 block · p. 112 in the paperback

The Rule That Actually Matters

# p. 112

Reference Rule logic — built in the router's web UI, not pasted
# Example OPNsense/pfSense-style rule logic (not literal syntax --
# the actual rule is built in the web UI):
#
# On the IoT interface:
#   Block: IoT -> VLAN 10 (Trusted) subnet
#   Allow: IoT -> any (internet)
#
# On the Guest interface:
#   Block: Guest -> VLAN 10 subnet
#   Block: Guest -> IoT subnet
#   Allow: Guest -> any (internet)

Reproduced exactly from Be Your Own Cloud, Chapter 24. The book explains what each line does and what to do when it doesn't work. About the book

Something here not working as the book describes? Tell the author.