• Captive portal Firewall

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    E

    I have something similar happening to me, everytime i try to login to FaceBook, the connection get refused…..i allowed the https port too but nothing to do (using Squid).
    :-\

  • Redirect pass-through MAC clients.

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    E

    What do you mean exactly with "get redirected on their first access" ??
    Do you want people to bypass the login page and go to the first page they have accessed after their first login (looks strange to me, as people wouldn't want to always return to a page that maybe have randomly visited on that specific occasion) or the homepage they set on their browser, or maybe a landing page you have created ??

  • Total Bandwidth Limit in Captive Portal?

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    E

    Here is the output of top -SH  from a few hours before heavy utilization.  I will post another during peak utilization

    $ top -SH
    last pid: 26657;  load averages:  0.06,  0.04,  0.01  up 27+06:26:31    14:14:06
    105 processes: 3 running, 85 sleeping, 17 waiting

    Mem: 434M Active, 36M Inact, 123M Wired, 972K Cache, 46M Buf, 2393M Free
    Swap: 8192M Total, 8192M Free

    PID USERNAME PRI NICE  SIZE    RES STATE  C  TIME  WCPU COMMAND
      11 root    171 ki31    0K    16K CPU1    1 624.4H 99.37% {idle: cpu1}
      11 root    171 ki31    0K    16K RUN    0 616.4H 98.97% {idle: cpu0}
      12 root    -68    -    0K  136K WAIT    1 409:29  0.88% {irq257: bce1}
      12 root    -68    -    0K  136K WAIT    0 470:10  0.59% {irq256: bce0}
    7255 root      56    0 54764K 17504K accept  0  0:04  0.10% php
        0 root    -68    0    0K    56K -      1 302:02  0.00% {dummynet}
      12 root    -32    -    0K  136K WAIT    0 142:51  0.00% {swi4: clock}
    15569 root      44    0  308M  305M bpf    0  76:24  0.00% tcpdump
      14 root      44    -    0K    8K -      0  43:31  0.00% yarrow
    20782 root      44    0  5116K  3236K select  0  32:01  0.00% openvpn
    40867 nobody    44    0  6580K  3764K select  1  27:08  0.00% dnsmasq
    15406 root      44    0  4948K  2540K select  1  24:32  0.00% syslogd
    37705 root      44    0 62920K 56756K kqread  0  18:44  0.00% lighttpd
    15721 root      44    0  3316K  924K piperd  0  12:15  0.00% logger
    34014 root      64  20  3316K  1348K select  1  7:58  0.00% apinger
        8 root      44    -    0K    8K pftm    0  5:43  0.00% pfpurge
    39181 dhcpd    44    0  8436K  5796K select  0  3:57  0.00% dhcpd
    17116 root      76  20  3656K  1464K wait    1  2:24  0.00% sh

  • Fatal error: Call to undefined function captiveportal_configure()

    Locked
    6
    0 Votes
    6 Posts
    3k Views
    A

    Not at all, I think it has something to do with the buggy wireless interface (run0).

    Like i said it was "gone", had to reboot to get it to work again and then captive portal was broken (it showed errors that interface was missing etc) and now I'm unable to start it.

    It seems one-time interface errors causes it to break completely. How would I go about and fix this? The last time I had to do a complete reinstall :(

    The packages I'm running are : squid3, vnstat , lightsquid, nmap and mailreport. So nothing out of the ordinary.

    @cmb:

    You can just apply the update for the version you're running to replace that.

    What do you mean by applying a update? for the file?

  • Bandwidth Management howto configure question?

    Locked
    8
    0 Votes
    8 Posts
    3k Views
    L

    Thank you very much for your ideas.

  • Captive Portal Does Not Appear

    Locked
    7
    0 Votes
    7 Posts
    5k Views
    J

    Isn't the 'Redirect to original URL' called as javascript?

    Have you checked the javascript debugging while waiting for the page to load?

  • 0 Votes
    2 Posts
    2k Views
    jimpJ

    Sounds like we need to add some input validation, or a cdata escape.

    Open a ticket at http://redmine.pfsense.org/

  • Cap on Number of Users Allowed in Captive Portal

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    A

    I ended up rebuilding PFSense because no matter what I tried I could not get my browser to my instance.  The connection would simply time out.

  • Captive Portal with registration option

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    N

    if you create a user in "Users" then this user will be saved in a file called "users".
    pfsense 2.0.x

    /usr/local/etc/raddb/users

    pfsense 2.1

    /usr/pbi/freeradius-i386/etc/raddb/users /usr/pbi/freeradius-amd64/etc/raddb/users

    And after adding/deleteing a user the server needs to be restarted to take effect.

  • Captive Portal does not work on Opt1

    Locked
    6
    0 Votes
    6 Posts
    4k Views
    T

    Thank you all, I have made a new installation from the scratch, now it works fine  ;)

  • Captive portal voucher disconnection problem

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    L

    is there a way that if some people try to use the same voucher code there will be a message that say

    the voucher is invalid. (because someone is using it)

    i'm just using local user management.

    i've already tried to disable concurrent connections but still it got disconnected.

    should i restart my pfsense box for the settings to take effect?

  • Custom Login page.

    Locked
    7
    0 Votes
    7 Posts
    17k Views
    S

    @luke240778:

    i see you have done the "Invalid Credentials" just by inserting text, are you also unable to get the Radius Responses by using the "$PORTAL_MESSAGE$" ?

    No matter what i do i can't get that to work on my custom error page.

    Try

  • Pin code login

    Locked
    8
    0 Votes
    8 Posts
    6k Views
    J

    How about adding some javascript to the auth form so that the password field on not 'empty' to begin with?

    What I though was, pre-populate the 'password' field with, say, a few spaces so it looks blank, then use a javascript OnClick() or OnSelect() - or whatever it is - function so that if the user selects the field to enter a proper password the spaces are removed.

    i.e.
    "username" [ Tab / click ] "password" [ Enter / click ] –->>  "username"/"password" > {radius}
    "pin" [ Enter / click ] –->> "pin"/"    " > {radius}

  • Too many concurrent users!

    Locked
    10
    0 Votes
    10 Posts
    6k Views
    F

    It worked!  ;D

    Thanks for all your help!

  • CP User account dedicated bandwidth

    Locked
    5
    0 Votes
    5 Posts
    2k Views
    N

    @Alan87i:

    Just don't set user bandwidth daily/weekly/monthly.
    As of yet PF doesn't send the traffic data correctly. 50Mb could be counted as over 200 MB. BAndwidthD seems to be just as bad off.
    But using freeradius2 to limit speed works fine right now.

    Please don't mix up different things. The fact you are talking about is limit the amount of traffic. You want to stop access after a user downloaded 500MB. This is not related to that topic!

    What he is talking about is bandwidth limitation. He wants that a user is always having 2MBit/s download and 1MBit/s upload but another user should have different limitations!

  • Execute additional PHP script

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Variables available to Captive Portal HTML/PHP

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    L

    Perfect.  Thanks alot.

  • CP Only through Proxy?

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    E

    Usually there you do proxy authentication schemes.
    But currently there is no possibility to do that with CP.

  • Help with Radius Authentication

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    M

    Main Server(2008r2 enterprise w/ Radius via NPS) -192.168.2.254 on subnet 192.168.2.0/24
    Virtualbox PfSense(located on Main Server) LAN 192.168.1.1 and WAN dhcp(reserved at 192.168.2.109)
    Gateway is 192.168.2.1 on /24 subnet

    The radius is on the Main Server supplied by RRAS Radius. Clients are setup with friendly names that point to each device and access is supplied via a unencrypted channel.

  • Captive Portal Login Problem

    Locked
    9
    0 Votes
    9 Posts
    6k Views
    GertjanG

    @maikc12335:

    friends I am new to the forum I have a problem with the authentication of my site I tell you exit the portal nowhere and I followed the tutorials and guides nothing helps this is my mail blabla.

    That an easy one.
    The answer starts here : http://forum.pfsense.org/index.php/topic,50246.msg269884.html#msg269884 - last message.

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