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

    Captive Portal + PPPoE server at the same time

    Captive Portal
    4
    8
    6.1k
    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.
    • R
      Richthofen
      last edited by

      Hi guys.

      I´m using PFsense BETA4 and I´d like to use Captive Portal and PPPoE server together so my clients will be separated from each other (pppoe tunnel) and must authenticate in CP.

      Is it possible?

      Thanx in advance.

      1 Reply Last reply Reply Quote 0
      • S
        sullrich
        last edited by

        I seriously doubt it …  :-[

        1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan
          last edited by

          @Richthofen:

          I´m using PFsense BETA4 and I´d like to use Captive Portal and PPPoE server together so my clients will be separated from each other (pppoe tunnel) and must authenticate in CP.

          Possible.

          => If you can accept another approach.

          I'm filtering for ports 138,138,445 etc already on the OPT1 'Wifi' Interface.
          But, on this interface I have a switch - and behind that 'many' AP's.
          So, clients share all the same IP netmask - and could 'interact' with each other easily.
          (One could discus about the fact that that is their problem ;-) ) - they share the stuff)

          But, I thought I had to streamline things, so I used AP's Linksys WRT54G(S) with a modified firmware.
          Activated ebtables in the WRT54G(S)'s and I entered this:

          #Accept DHCP to go everywhere (meaning: broadcasting without special MAC info)... 
          ebtables -t broute -A BROUTING -i eth1 -p ipv4 --ip-proto tcp --ip-destination-port 67:68 -j ACCEPT 
          ebtables -t broute -A BROUTING -i eth1 -p ipv4 --ip-proto udp --ip-destination-port 67:68 -j ACCEPT 
          
          #Accept also arp-ing... 
          ebtables -t broute -A BROUTING -i eth1 -p arp -j ACCEPT 
          
          #For the rest, allow [b]only [/b]our gateway MAC (please insert yours) as a destination... 
          ebtables -t broute -A BROUTING -i eth1 -d ! 00:01:02:03:04:05  -j redirect --redirect-target DROP
          

          Note: eth1 = WLAN interface on AP
          Note: 00:01:02:03:04:05 is the MAC of the OPT1 interface - the 'gateway' for all the clients.

          Done. No more com possible between clients. Period.
          DHCP broadcasts are still visible to all, but the rest of the (radio) communication is just client<->AP<->pfSense.

          [edit] By the way: these AP's (with the Sveasoft firmware, to name the house) offer already 'Client Isolation', but that only works for all the clients connected to one AP - not from 'seeing' each other if they are connected to 2 different AP's. As already said, I have many AP's all over the place.

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          1 Reply Last reply Reply Quote 0
          • S
            sullrich
            last edited by

            @Gertjan:

            Possible.

            I stand corrected.  Nice work.

            1 Reply Last reply Reply Quote 0
            • R
              Richthofen
              last edited by

              Hi

              I´m using Samsung SWL-3300 AP´s. Is there a modified firmware to allow this solution on such hardware?

              Thnx

              1 Reply Last reply Reply Quote 0
              • L
                lylian
                last edited by

                :) and for a Cisco Aeronet 1100 ?  :D

                1 Reply Last reply Reply Quote 0
                • GertjanG
                  Gertjan
                  last edited by

                  @Richthofen:

                  … Samsung SWL-3300 AP´s...

                  &
                  @lylian:

                  :) and for a Cisco Aeronet 1100 ?  :D

                  What you actually need is:

                  1. telnet (SSH) acces, and
                  2. ebtables has to be present in the firmware.

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

                  1 Reply Last reply Reply Quote 0
                  • L
                    lylian
                    last edited by

                    i will try tomorrow…very good job .... :) ...i'll become after

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.