• Capti portal per user firewall rules

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    C

    If you setup DHCP reservations so you the IP addresses will set for each of your customers. Then you can write rules based on those IP addresses.

  • Restart Captive Portal from command line after MAC Import

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    X

    I figured out my own problem.  I found the code in the admin webpages that restarts the captive portal services after you change them and press the "Save" button and I just called them on my own.  Seems to work well for me!

    #!/usr/local/bin/php -q         require_once("captiveportal.inc");         captiveportal_configure(); ?>
  • Captive portal config file

    Locked
    3
    0 Votes
    3 Posts
    5k Views
    B

    Thanks for your answer …

    I've found this :
    http://forum.pfsense.org/index.php/topic,7633.0.html

    And It works great !!!!

    thanks a lot

    @+

  • Captive portal in transparent mode

    Locked
    5
    0 Votes
    5 Posts
    4k Views
    B

    I'm pretty sure it doesn't have a supported developer at this point (in m0n0).

  • Function as a Meraki Advertise network

    Locked
    7
    0 Votes
    7 Posts
    3k Views
    GruensFroeschliG

    You should actually look at the config page of the captive portal, and not just read about it.

    If you do that you will notice the tab "pass-through MAC".
    Meaning all MAC's on this list will be just allowed through the CP and all other will be taken to the authentication page.

    You can upload your own authentication page.
    (even one without user/password fields)

  • About https in Captive Portal

    Locked
    5
    0 Votes
    5 Posts
    4k Views
    L

    it s a self signed cert generated with openssl on a slackware.

  • 0 Votes
    4 Posts
    3k Views
    S

    I have the exact same problem.

    The uploaded image turn up in /var/db/cpelements and the cp index it self is in /usr/local/captiveportal but still it does not symlink between
    Since i run a discless install i can't symlink them my self, or copy for that matter.
    Can't find which script that does the uploading.

    Is there any workaround for this for i cd-rom booter.

  • OTP(e.g. OPIE or FreeAuth) - authentication on FW

    Locked
    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • Project

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    P

    Hi,

    I have problems with the images not showing up in the customized captive portal page. I've already posted it (http://forum.pfsense.org/index.php?topic=9551) but failed to get a concrete response. What I failed to mention though in that post was the fact that I am using the CD-ROM setup as I have no extra hard drive for this old machine I used as the captive portal gateway. I also learned from the forums that installing in a USB flash drive is not a good idea.

    I've downloaded the zip file of hoba, extracted the contents and saved the images to the file manager and changed the cp page and error page in the captive portal screen. All failed too. I am suspecting that the reason the files could not be found was there are no links/file whatsoever of the images under the /usr/local/captiveportal directory but all uploaded files are in /var/db/cpelements directory. A direct input of http://192.168.1.1:8000/captiveportal-wifinobg.gif to the browser's address bar would yield a 404-Not Found error.

    wifigw:/usr/local/captiveportal#  ls -la total 38 drwxr-xr-x  2 root  wheel    512 Feb 25 06:05 . drwxr-xr-x  15 root  wheel    512 Feb 25 06:05 .. -rwxr-xr-x  1 root  wheel  16770 Jul 17  2007 index.php -rw-r--r--  1 root  wheel  10185 Aug 28  2007 radius_accounting.inc -rw-r--r--  1 root  wheel  5531 Mar 22  2007 radius_authentication.inc wifigw:/var/db/cpelements#  ls -la total 126 drwxr-xr-x  2 root  wheel    512 May 24 15:48 . drwxr-xr-x  13 root  wheel    512 May 23 00:48 .. -rw-r--r--  1 root  wheel  62537 May 24 15:48 captiveportal-background.png -rw-r--r--  1 root  wheel  57030 May 24 15:48 captiveportal-bgerror.png -rw-r--r--  1 root  wheel  3741 May 24 15:48 captiveportal-citywifinobg.gif

    I tried to create a soft link to the images from /usr/local/captiveportal directory to the /var/db/cpelements but the system won't let me and reported that the FS is read-only (of course, I'm using a CD-ROM setup). I have no available hard drive at the moment, in fact I set up pfSense on a very old  P3 machine. If there other workaround for this, please let me know.

  • So… another way

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Captive portal just wont work–-pls help

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    B

    As an additional data point, you can also add the DNS servers to pass through to accomplish the same thing if you're so inclined.

    nb

  • Captive Portal + Active Directory 2003

    Locked
    5
    0 Votes
    5 Posts
    13k Views
    B

    NetBIOS name is not really an easy add, if your DNS and NetBIOS names match up (which they should) you can glean that information from the IP.  If you use pfSense for your DHCP (which I assume you aren't since you use windows server) you can use dhcp hostname to register in the dns resolver in pfsense.

    nb

  • CP + transparent squid = delay

    Locked
    1
    0 Votes
    1 Posts
    4k Views
    No one has replied
  • Captive Protal Problem Running On Vlan 100

    Locked
    5
    0 Votes
    5 Posts
    4k Views
    D

    I just solved this very situation.  For my setup I had pfsense with a GigE NIC vlan trunked to an HP Procurve switch fabric.. no matter which VLAN interface I selected the Captive Portal remained wide open (non functional).

    Turns out, in my setup anyway, that Captive Portal in pfsense will not work properly with a VLAN interface.  I installed another NIC in the box, a cheap 3com 100MB with no VLAN.. just ran a cable directly to that VLAN on the HP Procurves.. and removed that VLAN from my trunk group.

    Works perfectly.

    Every setup I did the non VLAN NIC works and the VLANs on the other NIC do not.

    Hope this is helpful to you.  -dw

  • CP Redirect

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    C

    This must be a rule issue. When I allow Any from Opt4 to any its works fine and redirects.

    Current rules I have or would like are:
    TCP OPT4 HTTP to ! Lan any

    What rule do i need to have for CP to redirect? Anyone happen to know?

    Thanks
    CConk01

  • Captive Portal + FreeRadius + Database

    Locked
    6
    0 Votes
    6 Posts
    5k Views
    C

    Did you manage to achieve an upload/download quota? I have been trying to do it for a while now with no success.

    If you did achieve it please could you let me know how.

    Many thanks

  • Static routes seemed that don't work if CP is active… why?

    Locked
    7
    0 Votes
    7 Posts
    4k Views
    K

    no solution?? :(

    So, I can't use CP…

    Anyone have the same problem???

  • Firewall rules for a Captive Portal?

    Locked
    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • DHCP works but there's no authentification page .. ??

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    P

    thanks Perry,

    That's ok, i have reinstalled Pfsense and it works .. surely an error ..

    But now i'm authenticated, i ping all my subnets works, but i cannot go on internet.

    I think it's not a problem on pfsense, surely a missing rule on the last firewall .. right ??

  • [Solved]Just AP or ModemRouterWifi ???

    Locked
    11
    0 Votes
    11 Posts
    5k Views
    P

    Thanks a lot  ;)

Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.