Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Using pfSense as Captive Portal only using Virtual Box.

    Captive Portal
    2
    5
    594
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • X
      xvlopz last edited by

      Hi, I am trying to implement pfSense in my network using Virtual Box, and use only the Captive Portal Service for the guest wifi. I am still new to this, and would like to know how to correctly configure pfSense.

      0_1543469105646_PFSENSE.PNG

      1 Reply Last reply Reply Quote 0
      • F
        free4 Rebel Alliance last edited by

        does your switch support VLAN?

        X 1 Reply Last reply Reply Quote 0
        • X
          xvlopz @free4 last edited by

          @free4 Yes my switch is a CiscoSF300-24PP

          1 Reply Last reply Reply Quote 0
          • F
            free4 Rebel Alliance last edited by

            then you could do what you want

            firewall---(port A)->switch->(port B)------(em0.10)->pfsense->(em0.11)------(port B)->switch->(port C)------>your router

            in my exemple, vlan 10 will represent the network between the firewall and pfsense, and vlan 11 will represent the network between pfsense and your wifi router.

            switch port A : linked to your firewall. inside vlan 10, without 802.1Q tags
            switch port B : linked to your computer with virtualbox installed. trunk : inside vlan 10 and 11. 802.1Q tags enabled on vlan 10 and 11.
            switch port C: linked to your wifi router. inside vlan 11, without 802.1Q tags.

            you will need to ask pfsense to create virtual interfaces for specific vlan 802.1Q tags. you can do this either on GUI (interfaces->(assign)->vlan menu) or in pfsense console (menu 2, assign interfaces, then y to "should vlan be setup now?")

            em0.10: linked to a "bridged" interface in virtualbox. bridge to the Ethernet network card
            em0.11 : linked to the same bridged virtualbox
            interface

            1 Reply Last reply Reply Quote 0
            • F
              free4 Rebel Alliance last edited by free4

              however, I just want to warn you that using a wifi router between you and the pfsense isn't optimal (it will force you to disable captive portal MAC filtering...which is not good)

              why don't you setup directly a captive portal on your Wi-Fi router? if the router can't offer such functionality, why don't you buy a pfsense appliance or a small Wi-Fi switch such as Cisco aironet?

              1 Reply Last reply Reply Quote 0
              • First post
                Last post