Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    1. Home
    2. Tags
    3. captive portal
    Log in to post
    • All categories
    • D

      Needed Configuration for Captive portal MAC Authentication using Freeradius MACs tab
      Captive Portal • captive portal mac-address freeradius • • danicavini

      3
      0
      Votes
      3
      Posts
      241
      Views

      D

      @danicavini
      Thanks, i will try it !

    • U

      Client connected without Captive Portal login
      Captive Portal • captive portal freeradius authentication • • undrBlack

      2
      0
      Votes
      2
      Posts
      349
      Views

      Gertjan

      @undrblack

      Without knowing the details :
      When you remove the 'virtual' part, that is : running pfSense with 3 real networking interfaces, bare bone, your issue will be gone. I can imagine the vitual interfaces / switch can be set up many ways, some of them could be wrong ?
      See also Virtualization ! if you have a Windows 10 (Pro) orMS SErver : use the build in Hyper-V : I've one running iwth Hyper-V, and it works fine. There is a detailed step by step setup guide in the doc.
      When a client connects to the Wifi, can you see the DHCP server log 'lease' attribution on the right interface ? What was the IP/mask/gateway/DNS received on the client ? That info should correspond to with the pfSense portal NIC.
      pfSEnse doesn't handle the the AP <=> Client radio (wifi) connection.
      if the AP is an AP and router, the pfSense portal only sees the IP and MAC of the router, not the IP and MAC of the clients. Ones a first client is logged in, all the others will pass without seeing a login screen.

    • B

      Pfsense 2.6 Captive Portal does not allow vpn connection established
      Captive Portal • captive portal pfsense 2.6.0 vpn connection • • Bagherif

      7
      1
      Votes
      7
      Posts
      510
      Views

      hugoeyng

      @steveits Great! I love pfSense.

    • RaymondChauke

      How to Enable per-voucher's roll bandwidth restriction or Traffic quota per voucher's roll..
      Captive Portal • captive portal • • RaymondChauke

      2
      1
      Votes
      2
      Posts
      346
      Views

      S

      @raymondchauke I would also love to see that and it is my hope they add to it.

    • M

      Captive portal, freeradius, access point(wpa2-eap)
      Turkish • captive portal freeradius accespoint • • mbunal

      2
      0
      Votes
      2
      Posts
      264
      Views

      G

      @mbunal merhaba AP'lerde ağ için parola tanımlaması yaparsanız ağa bağlanmak isteyen her cihaz için önce wifi parolası girilmesi istenir sonrasında captive portal ekranına girerek oturum açmaları istenir. eğer ağlara bağlanan cihazlar aynı ise captive portal üzerinden mac adreslerine tek tek izin verebilirsiniz.

    • S

      Pfsense captive portal does not show on IPhone !!
      Captive Portal • captive portal • • sparktcs

      23
      0
      Votes
      23
      Posts
      1107
      Views

      johnpoz

      @gertjan said in Pfsense captive portal does not show on IPhone !!:

      They don't care about de local castle from the 14 century.

      heheh - I don't know when I was on business trips my favorite part was taking in the local history and stuff to do. This was mostly the local tavern ;) But still - hehehe

      I spent a bit of time in Tulle on multiple occasions.. I had a couple of fav watering holes there.. One of my favorite spots was a little place tucked away on a side street, loved to sit outside and just watch the people going about their business and enjoy a few beers..

      It was across from the cathedral there, and believe that was from the 14th century ;)

    • Lucky 0

      How to make a Customize Pfsense Update Password for captive portal users?
      Captive Portal • captive portal customize update password • • Lucky 0

      2
      0
      Votes
      2
      Posts
      273
      Views

      Gertjan

      Your customizing, right ?

      Use https://pfsense.yourlan.tld/system_usermanager.php as an example.

      Normally, when you use a page like "https://pfsense.yourlan.tld/system_usermanager.php" you should be logged in.
      But, as you create your won "user edit" page, you could throw away that need. Just borrow (copy) the code you need to update the user's settings - the 'saving part is happening after the line that says :

      if ($_POST['save'] && !$read_only) {

      Something like : have to look up the user ID first, and if it exists, compare the old password with what the user entered (first "old" password box) and if there is a match, update the user's password with what he entered in the "new" password second box.
      This way, you allow only known users to change their own password.

    • T

      Captive portal vouchers print
      Captive Portal • captive portal • • Tommaso Forrest

      5
      0
      Votes
      5
      Posts
      208
      Views

      T

      https://forum.netgate.com/topic/97205/template-roll-printer-with-options-for-2-2-6-2-3-2-3-4-2-4-0

    • E

      Nginx "404 Not Found" Error after POST action to "$PORTAL_ACTION$"
      Captive Portal • captive portal ngin php redirect • • emad

      2
      0
      Votes
      2
      Posts
      286
      Views

      Gertjan

      Hi,

      @emad said in Nginx "404 Not Found" Error after POST action to "$PORTAL_ACTION%2quot;:

      So, do I miss knowledge with CP behavior or should I modify something?

      You might as well check (== read and understand what happens when and why etc) this file /usr/local/captiveportal/index.php
      It's the file that's get 'executed' when a users is redirected that the portal login interface.
      Read that file carefully - and also check this one : /etc/inc/captiveportal.inc which contains all the functions.

      For instance, you'll find why/where/when a string like $PORTAL_ACTION$ is replaced by the correct URL before getting send to the client.
      Throwing $PORTAL_ACTION$ at the client's web browser who throws it back to the captive portal web server will produce 404 errors.

    • Y

      captive portal settings not saved
      Captive Portal • captive portal save error • • yanqian

      7
      0
      Votes
      7
      Posts
      179
      Views

      viktor_g

      Issue created: https://redmine.pfsense.org/issues/10798

    • mohkhalifa

      Windows RADIUS Server
      Captive Portal • windows server windows radius captive portal radius • • mohkhalifa

      18
      0
      Votes
      18
      Posts
      845
      Views

      A

      @anwarmoinudeen Hi Sir did your issue got resolved already? i also have the same issue in pfsense

    • mohkhalifa

      Integration of freeRADIUS with MS Active Directory
      pfSense Packages • captive portal freeradius radius bandwidth • • mohkhalifa

      1
      0
      Votes
      1
      Posts
      146
      Views

      No one has replied

    • mohkhalifa

      Port Forward in Active CP
      Captive Portal • captive portal firewall firewall rules port forward port forwarding • • mohkhalifa

      6
      0
      Votes
      6
      Posts
      223
      Views

      F

      @Gertjan shodan.io is a service that scans the internet for known exposure and for vulnerabilities

      i remember you are french, so I link you here a video in French on the subject https://youtu.be/SxjmOFBtsvk

    • mohkhalifa

      Captive Portal Probelm
      Captive Portal • captive portal • • mohkhalifa

      3
      0
      Votes
      3
      Posts
      148
      Views

      mohkhalifa

      Thanks dear for your kind reply. I solved my problem that I created another portal to handle the pfsense CP pages to the users and now everything is going perfect EXPECT I need to add a code to my logout page to get the close event from the pages with a warning message to the users that "if you close this page will be logged-out" then if the user confirm this warning message I will force the logout button before closing.
      Your suggestion is highly appreciated :)

    • mohkhalifa

      Apply a firewall rule for user
      Firewalling • captive portal firewall rules • • mohkhalifa

      9
      0
      Votes
      9
      Posts
      305
      Views

      mohkhalifa

      Thanks dear for your kind reply :)

    • R

      user based ACL
      Captive Portal • squid pfsense captive portal • • remrem76

      1
      0
      Votes
      1
      Posts
      116
      Views

      No one has replied

    • T

      Pfsense lets some smart phones connect despite the captive portal setup with vouchers
      Captive Portal • smart phone captive portal vouchers • • tarandalinux

      19
      0
      Votes
      19
      Posts
      637
      Views

      Gertjan

      This :
      fd71b78d-7064-43fc-a6ee-6a3e8d963ee1-image.png

      Is the 'simple' setup.

      The ipfw firewall works best when it 'sees' the MAC addresses of the connected devices.
      If it doesn't, well ... check our AP again : make it work as an AP, not a router. Routers hide MAC addresses for upstream routers (= pfSense). That not good if you want the captive portal to work flawlessly.

    • P

      How to list authenticated users from shell
      Captive Portal • captive portal authentication reports • • prophet

      5
      0
      Votes
      5
      Posts
      314
      Views

      jimp

      If you just want a count, you can use the script that is there for RRD:

      /usr/local/bin/php-cgi -q /usr/local/bin/captiveportal_gather_stats.php '<zone name>' 'loggedin'

      /usr/local/bin/php-cgi -q /usr/local/bin/captiveportal_gather_stats.php '<zone name>' 'concurrent'

    • T

      [help me]pfsense not redirect to Captive portal when user type HTTPS website url?
      Captive Portal • not redirect https pfsense captive portal • • TuanNghia103

      8
      0
      Votes
      8
      Posts
      1509
      Views

      F

      @Gertjan Other one are missing,

      because of google being blocked in china, cellphones and multiple chinese garbage browsers (360browser, etc...) are usually using one of these URL:

      https://connect.rom.miui.com/generate_204 (Xiaomi) http://www.qualcomm.cn/generate_204 (Huawei) http://www.265.com/generate_204 (Google Chrome, Asus cellphones. This website is owned by google)

      I also heard that nintendo devices are using http://conntest.nintendowifi.net for captive portal detection
      but anyway, i don't think that's very important..

    • Lynke

      FreeRadius y Portal Cautivo
      Español • captive portal freeradius access point tp link intel i3 • • Lynke

      1
      0
      Votes
      1
      Posts
      179
      Views

      No one has replied

    • mylmzertia

      Trouble With CaptivePortal on Two VLANs in One Interface
      Captive Portal • pfsense captive portal vlans interfaces dhcp • • mylmzertia

      5
      0
      Votes
      5
      Posts
      878
      Views

      mylmzertia

      @Gertjan said in Trouble With CaptivePortal on Two VLANs in One Interface:

      You are already using multiple interfaces - a VLAN is considered as a interface.

      Typically, each interface has its own dedicated AP(s) - using a dedicated radio (== Wifi) setup.
      A user should choose the correct Wifi SSID first to use the correct network. You can't automatize this.

      I just wanted to make it happen. I was planning to redirect the user to the correct VLAN by using just one SSID. But I completely got that I can not do it. Thanks for your helps.

      @free4 I still can not find an opportunity to try PacketFence. I will write down here if I can be successful on it.

    • P

      Captive portal databases are reset!
      Captive Portal • captive portal sqlite3 database • • prophet

      9
      0
      Votes
      9
      Posts
      748
      Views

      P

      @Gertjan thanks, it looks like a solid explanation for my case

    • Z

      Any specific technology involved in creating a Captive Portal Page?
      Captive Portal • captive portal templates themes html • • Z3r0sum

      4
      0
      Votes
      4
      Posts
      296
      Views

      Z

      @jimp Thanks, this reply helped a lot

    • M

      Connecting it to my already configured network
      General pfSense Questions • dhcp captive portal dns • • mark7807

      1
      0
      Votes
      1
      Posts
      177
      Views

      No one has replied

    • C

      Help with Portal Splash page
      Captive Portal • splash page portal.html redirect target captive portal • • charlesa920

      8
      0
      Votes
      8
      Posts
      760
      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.

    • T

      captive portal with freeRadius
      Off-Topic & Non-Support Discussion • freeradius captive portal • • tripplex95

      5
      0
      Votes
      5
      Posts
      539
      Views

      Gertjan

      Install the Patch package.
      Read the Patch package manual (Netgate's pfSense doc).

      Or : as you already found out, it concerns only the edit of a file, a couple of lines.
      A good text editor like Ultraedit or Notepad++ and a tool like SmartFTP or FileZilla (both can handle SFTP access) and your do it as is done old fashioned way - ans still today : with your fingers. Btw : and keyboard.