Score:0

2 VLANS on 1 Physical OpnSense Ethernet Port (connected to wifi access point) and 1 Captive Portals on each VLAN

gg flag

I want to create a captive portal with different restriction per user account/role (student and teacher).

  • The Teacher can have unrestricted access.
  • The Student have restricted access. (only defined/allowed websites are accessible).

But upon my research/review on OpnSense Captive Portal Documentation, This is not possible because you can only configure firewall/captive portal settings per port/interface. In short, 1 Zone is 1 Interface.

I cannot modify the infrastructure/wiring or add another Wi-Fi access points since It's already installed and running. I can only configure them.

So my plan is:

  • Setup 2 VLAN ID's (Interface) on a single physical ethernet port on OpnSense that is connected to the Wifi Access Points.
  • Create two Captive Portals on OpnSense that uses the 2 VLAN Interface I created.
  • Configure the Wifi Access Points to two SSID's (Teacher Wifi & Student WiFi) and attach each SSID to specific VLAN ID I setup on OpnSense.
  • Configure OpnSense Website Filtering on the Student Wifi VLAN Interface.

To be honest, these are just my theories. I don't really know if this is a feasible or good workaround/setup. This is my first time in network setup/engineering. Please bear with me.

All I want to know is, Is this kind of setup possible? (kindly look for the diagram below to better understand my network setup plan). Please give me some tips/suggestions on how I can do it better. Thank you very much!

my setup plan

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.