• Help with Portal Splash page

    8
    0 Votes
    8 Posts
    2k Views
    C

    I think I got it going. After upgrading to v.2.4.4 I downloaded the built-in portal.html and adapted it to work for me. the ones in the book didn't work.
    thx for your patience with me.

  • Captive portal

    20
    0 Votes
    20 Posts
    2k Views
    GertjanG

    @vukomir said in Captive portal:

    and to answer one of your previous question why I specify Gateway for internet access, because if want that role to apply only to internet traffic and not allow access to other VLAN's/Networks

    I understand.
    My ... dono what, says that an alias to all other neworks, and negate that alias in the destination, is 'better".

  • Captive Portal Wifi Router Authentication

    3
    0 Votes
    3 Posts
    555 Views
    GertjanG

    @awaz said in Captive Portal Wifi Router Authentication:

    I read many posts about it but didnt see anyone giving solution of it.

    Between the device and pfSense-Captive portal there can't be any router **.
    That why there is no solution. Because it isn't a problem ;)

    In detail : if you use a router with Wifi facilities, like one of it's LAN NIC's is equipped with Wifi radio device, and you connect the upstream NIC (typically labeled as WAN or upstream on this router) then the captive portal would only see the IP of this routers NIC. NOT the IP of the client - neither the MAC.
    So, everybody that connects to your router's Wifi, will be identified by pfSense with the same IP and the same MAC, the one on the router's WAN port.

    And that is bad .....

    You'll be seeing the typical "one user logs in, and after that it's a free ride for everybody else (many posts exists about this subject)"

    So, use a simple AP, if it has DHCP : shut that down.
    A router equipped with Wifi could be used, but, as said above, shut down NAT, DHCP server, etc. Make it look like a dumb AP and you'll be fine.

    ** well, you could do it. But it will break captive portal's basic operating rules.

  • CaptivePortal - Random Time Outs

    6
    0 Votes
    6 Posts
    696 Views
    GertjanG

    @madcatza said in CaptivePortal - Random Time Outs:

    however if I need to do that it would mean this is a bug, yes?

    No way.
    I tend to use the code as the manual for pfSense. When I understand the code, I know what the GUI settings do - and why things happens, under the exact condition.
    I'm using the portal for many, many years now. People are disconnected when their device isn't communicating any more after 4 hours (my idle time setting). Or after 12 hours what ever happens - the hard time out.
    Of course, you and me are not the only one using the captive portal. Thousands of others use it also.
    If connected clients would be thrown out after one minute sharp, this forum would explode with messages from unhappy users.
    The good new : this issue only happens to you.
    Bad news : this issue only happens to you.

    Global news : as you and we use the same software, only setup and settings are different.

    Thus : what is your setup ? settings ? Explain us, and we'll explain how to correct it.

  • Lost Captive Portal files on v.2.4.4

    2
    0 Votes
    2 Posts
    305 Views
    F

    radius_authentication.inc and radius_accounting.inc have been removed. they have been replaced by two functions ( radius_backed() inside /etc/auth.inc for authentication, captiveportal_send_server_accounting() inside /etc/captiveportal.inc for accounting)

    as long as you don't use RADIUS anywhere else, you could maybe update these functions.

    However be careful : radius_backed() could be used by few other parts of pfSsense : openVPN module and IPsec Xauth module are using it for instance.

    as long as you don't use RADIUS anywhere else, you could maybe update these functions.

  • 0 Votes
    3 Posts
    349 Views
    G

    See my topic:
    https://forum.netgate.com/topic/137756/lost-captive-portal-files-on-v-2-4-4

  • freeradius sending attributes from a condition

    2
    0 Votes
    2 Posts
    267 Views
    G

    See my topic:
    https://forum.netgate.com/topic/137756/lost-captive-portal-files-on-v-2-4-4

  • freeradius3 not running on pfsense 2.4.3

    2
    0 Votes
    2 Posts
    287 Views
    GertjanG

    Hi,

    Your FreeRadius package needs a more recent pfSense version.
    Upgrade pfSense to the latest version, 2.4.4.

  • OAuth 2.0 and Captive Portal

    1
    1 Votes
    1 Posts
    470 Views
    No one has replied
  • Adding Allowed IP Address in Captive Portal causes troubles.

    Moved
    4
    0 Votes
    4 Posts
    493 Views
    GertjanG

    I'm using several IP's on the Allowed IP Addresses tab :

    0_1542001139172_a3916230-7078-4d26-9fff-bad151b2b41a-image.png

    As you might guess, these are my 3 AP's - my Portal network is 192.168.2./24, pfSense using 192.168.2.1.
    AP's needs access to the net for services like ntp etc.

    My 3 Ap's can communicate with the net.

    Btw : Captive portal ipfw firewall rules are :

    [2.4.4-RELEASE][admin@pfsense.brit-hotel-fumel.net]/root: ipfw table all list --- table(cp_ifaces), set(0) --- sis0 2100 41929406 24022213886 1542001320 --- table(cpzone1_auth_up), set(0) --- --- table(cpzone1_host_ips), set(0) --- 192.168.2.1/32 0 10842951 645919014 1542001320 --- table(cpzone1_pipe_mac), set(0) --- 88:1f:a1:54:ff:c9 any 2081 0 0 0 any 88:1f:a1:54:ff:c9 2080 0 0 0 48:88:ca:41:ff:55 any 2075 0 0 0 any 48:88:ca:41:ff:55 2074 0 0 0 4c:8d:79:91:ff:52 any 2077 0 0 0 any 4c:8d:79:91:ff:52 2076 0 0 0 64:80:99:9a:ff:a0 any 2079 0 0 0 any 64:80:99:9a:ff:a0 2078 0 0 0 --- table(cpzone1_auth_down), set(0) --- --- table(cpzone1_allowed_up), set(0) --- 192.168.2.2/32 2082 785 77243 1542001221 192.168.2.3/32 2084 655 58796 1541999147 192.168.2.4/32 2086 635 78822 1541991852 --- table(cpzone1_allowed_down), set(0) --- 192.168.2.2/32 2083 234 17784 1542001221 192.168.2.3/32 2085 235 17860 1541999147 192.168.2.4/32 2087 233 17882 1541991000

    (I have 5 MAC's on the MAC's list)

    This works fin for the last decade or so.

  • Change text MADE WITH LOVE BY NETGATE

    Locked Moved
    6
    0 Votes
    6 Posts
    2k Views
    DerelictD

    Right. But that is not where you should make the change.

    You should upload your own custom HTML instead.

  • CAPTIVE PORTAL - ALLOWED IP ADDRESSES

    Locked
    4
    0 Votes
    4 Posts
    1k Views
    jimpJ

    This thread was never answered. Start your own, and read my questions above and answer them in your new thread.

  • Enable Captive Portal while using L3 switch?

    2
    0 Votes
    2 Posts
    299 Views
    jimpJ

    You can, by disabling MAC address filtering, but it's not as secure since you don't have a direct L2 connection.

    Someone would only need to hop to a new IP address to potentially gain access, whereas with MAC filtering they would need to correctly guess a valid MAC+IP address combination.

  • Captive Portal - Pass-through credits per MAC address broken?

    10
    0 Votes
    10 Posts
    1k Views
    S

    exactly . thanks a lot

  • Captive portal on 2.4.4 with self-registrations

    2
    0 Votes
    2 Posts
    483 Views
    jane.doe2J

    You may have a look at this to get some idea :)

    pfSense-cp-auth-onestep

  • PDO for MySQL is not working on Captive Portal on PfSense 2.4.4

    3
    0 Votes
    3 Posts
    808 Views
    jane.doe2J

    Same for mysqli :)

    pkg install php72-mysqli-7.2.10
  • Per user bandwith limiter no coDel

    1
    0 Votes
    1 Posts
    217 Views
    No one has replied
  • Using firewall aliases in Allowed IP Addresses and Hostnames in CP

    1
    0 Votes
    1 Posts
    194 Views
    No one has replied
  • Mobile sms OTP login authentication in pfsense

    2
    0 Votes
    2 Posts
    781 Views
    U

    any luck? I am looking for the same. Please provide some kB if you found one

  • MAC Removed

    Locked
    11
    0 Votes
    11 Posts
    1k Views
    DerelictD

    One thread and one ping is enough. Thank you. Locking this one.

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