OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • [Solved] Captive portal for VLAN interface only?
« previous next »
  • Print
Pages: [1]

Author Topic: [Solved] Captive portal for VLAN interface only?  (Read 1294 times)

sens_ible

  • Newbie
  • *
  • Posts: 22
  • Karma: 0
    • View Profile
[Solved] Captive portal for VLAN interface only?
« on: October 13, 2017, 07:53:25 pm »
I have read several posts in the OPNsense fora that people created a dedicated captive portal for one VLAN only, e.g. only for a Guest VLAN.

How can I do this? I have created a VLAN interface on the LAN interface. When I want to create a zone, the listbox for the interface only offers LAN. I can not find the VLAN interface I created before.
« Last Edit: October 14, 2017, 09:51:08 pm by sens_ible »
Logged

sens_ible

  • Newbie
  • *
  • Posts: 22
  • Karma: 0
    • View Profile
[Solved] Captive portal for VLAN interface only?
« Reply #1 on: October 14, 2017, 09:04:25 pm »
Accidentally I found the solution:

1.) Create a new VLAN interface Interfaces/Other Types/VLAN

However, before you can use the new VLAN interface you have to assign and enable it.

2.) Go to Interfaces->Assignments and use the + to add a new interface.

I got stuck at this point before, because the new VLAN interface was not offered for assignment.

Actually it seems that I can only assign virtual interfaces after I have assigned all physical interfaces on my machine. After I had assigned all physical interfaces on my appliance, also the VLAN interface I had created before was offered for assignment.

After assigning and enabling the VLAN interface, this interface also appeared in the list of available interfaces for a new zone in the Captive Portal.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • [Solved] Captive portal for VLAN interface only?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2021 All rights reserved
  • SMF 2.0.17 | SMF © 2019, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2