How to create an Offline wifi network?

In LuCi - Network - Interfaces click [Add new Interface]
Give a name to the interface, Protocol:Static address, select the WiFi you created earlier, click submit.

In the next screen,

  • General Setup:
  1. set a IP address (if you are already using 192.168.100.1 set something like 192.168.200.1 netmask 255.255.255.0)
  2. set a Gateway (same as in above step)
  • DHCP Server: Create a DHCP Server
  • Firewall Settings: create a new Firewall zone: name

click [save and Apply]

In Network - Firewall edit the new zone,

  • General Setting: maybe allow forwarding to and from LAN but not WAN depending on what you want to achieve.

  • Traffic Rules: add two new forward rules:

  1. name-dns rule [Add and Edit] Source zone: (the one you created), Destination: Device, Destination port: 53 [save and Apply]

  2. name-dhcp rule [Add and Edit] Source zone: (the one you created), Source port: 67-68, Destination: Device, Destination port: 67-68 [save and Apply]

click [save and Apply]

I created a IOT-devices network this way, but allowed only to WAN and not to LAN in the General Settings of the Firewall.

1 Like