home-ops/docs/network.md
2022-05-14 23:15:02 +02:00

862 B

Network

All network devices are from Ubiquiti and are part of their Unifi brand.

Router (UDM-PRO)

NextDNS

We have three configurations on NextDNS:

  • mobile (for when we are outside of the network)
  • non blocking (used by devices on the network that should not have Ad blocking enabled)
  • blocking (used by devices on the network that should have Ad blocking enabled)

VLAN config

The NextDNS cli will pick up all requests sent to 192.168.*.1 and redirect them to NextDNS.

Install NextDNS cli

SSH to the router and run sh -c 'sh -c "$(curl -sL https://nextdns.io/install)"'

Configure NextDNS cli

nextdns config set \
    -config 192.168.30.0/24=<config> \
    -config 192.168.50.0/24=<config> \
    -config 192.168.60.0/24=<config> \
    -config 192.168.70.0/24=<config> \
    -config <default-config>
nextdns restart