Skip to main content

Configuration

You can setup WiFi on OPNsense. Generally is not recommended, but sometimes might be useful.

Navigate to Interfaces > Wireless > Devices

  • Click +
  • Parent interface: run0 ()
  • Description: WLAN

Click Save when you done

opnsense-wifi-device

Navigate to Interfaces > Assignments

  • New interface: run0_wlan1 (WLAN)
  • Click +
  • Description: WLAN

Click Save when you done

opnsense-wifi-interfaces

Navigate to Interfaces > Assignments > [WLAN]

  • Check Enable interface
  • Check Prevent interface removal
  • IPv4 Configuration Type: Static IPv4
  • IPv4 address: 10.11.11.1/24

opnsense-wifi-wlan1

  • Standard: 802.11ng or anything greater if available
  • Mode: Access Point
  • SSID: <YourSSID>

opnsense-wifi-wlan2

  • Check Enable WPA
  • WPA Pre-Shared Key: <YourPassword>
  • WPA Mode: WPA2
  • Authentication: Shared Key Authentication
  • WPA Pairwise: AES (recommended)

opnsense-wifi-wlan3

Click Save Then Click Apply changes

Navigate to Services > DHCPv4 > [WLAN]

  • Check Enable DHCP server on the WLAN interface
  • Range:
    • from: 10.11.11.2
    • to: 10.11.11.254

opnsense-wifi-dhcp

Click Save when you done

Navigate to Firewall > Rules > WLAN

  • Click +
  • Action: Pass
  • Interface: WLAN
  • Direction: in
  • TCP/IP Version: IPv4
  • Source: WLAN net

opnsense-wifi-rule

Click Save Then Click Apply changes

You should now be able to connect to YourSSID with YourPassword and have access to internet.